⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 photovo.java

📁 J2EE(Struts+Hibernate)电子相册系统Struts、Hibernate框架开发 mysql数据库 包含比较完整的功能
💻 JAVA
字号:
package angus.vo;

import java.io.Serializable;

public class PhotoVO implements Serializable
{
	private int id;
	private String title;
	private String desc;
	private long times;
	private String picUrl;
	private String bigPicUrl;
	private String smallPicUrl;
	private String upDate;
	private boolean cover;
	private int albumId;
	private String albumName;

	public PhotoVO()
	{
	}

	public PhotoVO(int id, String title, String desc, long times, String picUrl, String bigPicUrl, 
		String smallPicUrl, String upDate, boolean cover, int albumId, String albumName)
	{
		setId(id);
		setTitle(title);
		setDesc(desc);
		setTimes(times);
		setPicUrl(picUrl);
		setBigPicUrl(bigPicUrl);
		setSmallPicUrl(smallPicUrl);
		setUpDate(upDate);
		setCover(cover);
		setAlbumId(albumId);
		setAlbumName(albumName);
	}

	public void setId(int id) {
		this.id = id; 
	}

	public void setTitle(String title) {
		this.title = title; 
	}

	public void setDesc(String desc) {
		this.desc = desc; 
	}

	public void setTimes(long times) {
		this.times = times; 
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl; 
	}

	public void setBigPicUrl(String bigPicUrl) {
		this.bigPicUrl = bigPicUrl; 
	}

	public void setSmallPicUrl(String smallPicUrl) {
		this.smallPicUrl = smallPicUrl; 
	}

	public void setUpDate(String upDate) {
		this.upDate = upDate; 
	}

	public void setCover(boolean cover) {
		this.cover = cover; 
	}

	public void setAlbumId(int albumId) {
		this.albumId = albumId; 
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName; 
	}

	public int getId() {
		return (this.id); 
	}

	public String getTitle() {
		return (this.title); 
	}

	public String getDesc() {
		return (this.desc); 
	}

	public long getTimes() {
		return (this.times); 
	}

	public String getPicUrl() {
		return (this.picUrl); 
	}

	public String getBigPicUrl() {
		return (this.bigPicUrl); 
	}

	public String getSmallPicUrl() {
		return (this.smallPicUrl); 
	}

	public String getUpDate() {
		return (this.upDate); 
	}

	public boolean getCover() {
		return (this.cover); 
	}

	public int getAlbumId() {
		return (this.albumId); 
	}

	public String getAlbumName() {
		return (this.albumName); 
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -