post.java

来自「一个网上购物商城系统」· Java 代码 · 共 203 行

JAVA
203
字号
package tarena.entity;

import java.util.Date;

/**
 * Post generated by MyEclipse Persistence Tools
 */

public class Post implements java.io.Serializable {

	// Fields

	private Integer id;

	private Topic topic;

	private User user;

	private String title;

	private Integer transactionpoint;

	private Integer readaccess;

	private Integer icon;

	private String content;

	private Byte forbideurl;

	private Byte forbidesmile;

	private Byte forbidegerweb;

	private Byte usesign;

	private Integer floor;

	private Date sendtime;

	private Date lastmodified;

	// Constructors

	/** default constructor */
	public Post() {
	}

	/** minimal constructor */
	public Post(Topic topic, User user, String title, String content,
			Integer floor, Date sendtime) {
		this.topic = topic;
		this.user = user;
		this.title = title;
		this.content = content;
		this.floor = floor;
		this.sendtime = sendtime;
	}

	/** full constructor */
	public Post(Topic topic, User user, String title, Integer transactionpoint,
			Integer readaccess, Integer icon, String content, Byte forbideurl,
			Byte forbidesmile, Byte forbidegerweb, Byte usesign, Integer floor,
			Date sendtime, Date lastmodified) {
		this.topic = topic;
		this.user = user;
		this.title = title;
		this.transactionpoint = transactionpoint;
		this.readaccess = readaccess;
		this.icon = icon;
		this.content = content;
		this.forbideurl = forbideurl;
		this.forbidesmile = forbidesmile;
		this.forbidegerweb = forbidegerweb;
		this.usesign = usesign;
		this.floor = floor;
		this.sendtime = sendtime;
		this.lastmodified = lastmodified;
	}

	// Property accessors

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

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

	public Topic getTopic() {
		return this.topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

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

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

	public Integer getTransactionpoint() {
		return this.transactionpoint;
	}

	public void setTransactionpoint(Integer transactionpoint) {
		this.transactionpoint = transactionpoint;
	}

	public Integer getReadaccess() {
		return this.readaccess;
	}

	public void setReadaccess(Integer readaccess) {
		this.readaccess = readaccess;
	}

	public Integer getIcon() {
		return this.icon;
	}

	public void setIcon(Integer icon) {
		this.icon = icon;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Byte getForbideurl() {
		return this.forbideurl;
	}

	public void setForbideurl(Byte forbideurl) {
		this.forbideurl = forbideurl;
	}

	public Byte getForbidesmile() {
		return this.forbidesmile;
	}

	public void setForbidesmile(Byte forbidesmile) {
		this.forbidesmile = forbidesmile;
	}

	public Byte getForbidegerweb() {
		return this.forbidegerweb;
	}

	public void setForbidegerweb(Byte forbidegerweb) {
		this.forbidegerweb = forbidegerweb;
	}

	public Byte getUsesign() {
		return this.usesign;
	}

	public void setUsesign(Byte usesign) {
		this.usesign = usesign;
	}

	public Integer getFloor() {
		return this.floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public Date getSendtime() {
		return this.sendtime;
	}

	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}

	public Date getLastmodified() {
		return this.lastmodified;
	}

	public void setLastmodified(Date lastmodified) {
		this.lastmodified = lastmodified;
	}

}

⌨️ 快捷键说明

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