photo.java

来自「jsp + servlete + jdbc开的管理系统」· Java 代码 · 共 87 行

JAVA
87
字号
package hbu.david.cmc.bean;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Photo {
	private int id;
	private String name;
	private String url;
	private String addTime;
	private int skimNum;
	private int categoryId;
	private Category category;
	private List<Comment> arrayComment;

	public List<Comment> getArrayComment() {
		return arrayComment;
	}

	public void setArrayComment(List<Comment> arrayList) {
		this.arrayComment = arrayList;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Photo() {
		super();
		// TODO Auto-generated constructor stub
	}

	public int getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public int getSkimNum() {
		return skimNum;
	}

	public void setSkimNum(int skimNum) {
		this.skimNum = skimNum;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
}

⌨️ 快捷键说明

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