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

📄 post.java

📁 struts+spring+hibernate例子
💻 JAVA
字号:
package com.shop.entity;

import java.util.Date;

/**
 * Post entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Post implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Topic topic;
	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(Integer id, User user, Topic topic, String title,
			String content, Integer floor, Date sendtime) {
		this.id = id;
		this.user = user;
		this.topic = topic;
		this.title = title;
		this.content = content;
		this.floor = floor;
		this.sendtime = sendtime;
	}

	/** full constructor */
	public Post(Integer id, User user, Topic topic, 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.id = id;
		this.user = user;
		this.topic = topic;
		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 User getUser() {
		return this.user;
	}

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

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

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

	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -