首页>代码>JSP+SQL Server开发网络相册网站源代码下载>/网络相册模块/08/src/com/wy/form/Photo.java
package com.wy.form;

public class Photo {
	private Integer id = -1;       // 设置数据库自动编号的对象
	private String photoName = ""; // 设置相片名称的对象
	private String photoSize = ""; // 设置相片大小的对象
	private String photoTime = ""; // 设置相片上传时间的对象
	private String photoAddress = ""; // 设置相片保存在服务器端地址的对象
	private String username = ""; // 设置相片上传用户的对象
	private String photoType = ""; // 设置相片所在相册名称的对象
	private String printAddress="";
	
	
	private String smallPhoto="";
	
	private Integer number=null;
	

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getPrintAddress() {
		return printAddress;
	}

	public void setPrintAddress(String printAddress) {
		this.printAddress = printAddress;
	}

	//设置相册信息的构造方法
	public Photo() {
	}
	
	/******************设置相片所在相册名称对象的getXXX()和setXXX()方法*************/
	public String getPhotoType() {
		return photoType;
	}

	public void setPhotoType(String photoType) {
		this.photoType = photoType;
	}
	/***************************************************/
	
	/******************设置数据库自动编号对象的getXXX()和setXXX()方法*************/
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	/***************************************************/
	/******************设置相片存放服务器端地址对象的getXXX()和setXXX()方法*************/
	public String getPhotoAddress() {
		return photoAddress;
	}
	
	public void setPhotoAddress(String photoAddress) {
		this.photoAddress = photoAddress;
	}
	/***************************************************/
	/******************设置相片名称对象的getXXX()和setXXX()方法*************/
	public String getPhotoName() {
		return photoName;
	}

	public void setPhotoName(String photoName) {
		this.photoName = photoName;
	}
	/***************************************************/
	/******************设置相片大小对象的getXXX()和setXXX()方法*************/
	public String getPhotoSize() {
		return photoSize;
	}

	public void setPhotoSize(String photoSize) {
		this.photoSize = photoSize;
	}
	/***************************************************/
	/******************设置相片上传时间对象的getXXX()和setXXX()方法*************/
	public String getPhotoTime() {
		return photoTime;
	}

	public void setPhotoTime(String photoTime) {
		this.photoTime = photoTime;
	}
	/***************************************************/
	/******************设置相片上传用户名对象的getXXX()和setXXX()方法*************/
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	/***************************************************/

	public String getSmallPhoto() {
		return smallPhoto;
	}

	public void setSmallPhoto(String smallPhoto) {
		this.smallPhoto = smallPhoto;
	}
}
最近下载更多
liu2022  LV14 2022年7月31日
缘------  LV9 2021年9月1日
HCY666  LV2 2021年6月30日
 LV5 2021年6月23日
明123456  LV11 2021年5月27日
Madao  LV3 2021年5月11日
能不能不存在  LV13 2021年1月16日
chunqiu  LV5 2020年12月20日
李杨洋  LV9 2020年11月24日
江夙溪  LV1 2020年11月22日
最近浏览更多
asddwh  LV12 2023年12月29日
微信网友_6680567232876544  LV8 2023年10月10日
1997akkk  LV5 2023年7月5日
768881787  LV7 2023年6月26日
自知则知之1  LV2 2023年5月26日
13133117021  LV4 2023年5月20日
distanceq  LV2 2023年5月15日
kkkaaaa  LV3 2023年5月9日
balabalawuyu  LV6 2023年5月8日
泓鼎168  LV19 2023年3月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友