abstractstory.java

来自「在线书库系统 查看图书 编写文章 管理员管理」· Java 代码 · 共 201 行

JAVA
201
字号
package StoryManage.Dal;

import java.util.Date;

/**
 * AbstractStory entity provides the base persistence definition of the Story
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractStory implements java.io.Serializable {

	// Fields

	private Integer storyId;
	private String storyTitle;
	private String content;
	private Integer writerId;
	private Date buildTime;
	private Integer typeId;
	private String imageUrl;
	private Integer hot;
	private Integer vote;
	private Integer firstChapterId;
	private Integer dayHot;
	private Integer weekHot;
	private Integer monthHot;
	private Integer isOver;
	private Date updateTime;

	// Constructors

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

	/** minimal constructor */
	public AbstractStory(String storyTitle, String content, Integer writerId,
			Date buildTime, Integer typeId, Integer hot, Integer vote,
			Integer firstChapterId, Integer dayHot, Integer weekHot,
			Integer monthHot, Integer isOver, Date updateTime) {
		this.storyTitle = storyTitle;
		this.content = content;
		this.writerId = writerId;
		this.buildTime = buildTime;
		this.typeId = typeId;
		this.hot = hot;
		this.vote = vote;
		this.firstChapterId = firstChapterId;
		this.dayHot = dayHot;
		this.weekHot = weekHot;
		this.monthHot = monthHot;
		this.isOver = isOver;
		this.updateTime = updateTime;
	}

	/** full constructor */
	public AbstractStory(String storyTitle, String content, Integer writerId,
			Date buildTime, Integer typeId, String imageUrl, Integer hot,
			Integer vote, Integer firstChapterId, Integer dayHot,
			Integer weekHot, Integer monthHot, Integer isOver, Date updateTime) {
		this.storyTitle = storyTitle;
		this.content = content;
		this.writerId = writerId;
		this.buildTime = buildTime;
		this.typeId = typeId;
		this.imageUrl = imageUrl;
		this.hot = hot;
		this.vote = vote;
		this.firstChapterId = firstChapterId;
		this.dayHot = dayHot;
		this.weekHot = weekHot;
		this.monthHot = monthHot;
		this.isOver = isOver;
		this.updateTime = updateTime;
	}

	// Property accessors

	public Integer getStoryId() {
		return this.storyId;
	}

	public void setStoryId(Integer storyId) {
		this.storyId = storyId;
	}

	public String getStoryTitle() {
		return this.storyTitle;
	}

	public void setStoryTitle(String storyTitle) {
		this.storyTitle = storyTitle;
	}

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

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

	public Integer getWriterId() {
		return this.writerId;
	}

	public void setWriterId(Integer writerId) {
		this.writerId = writerId;
	}

	public Date getBuildTime() {
		return this.buildTime;
	}

	public void setBuildTime(Date buildTime) {
		this.buildTime = buildTime;
	}

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getImageUrl() {
		return this.imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Integer getHot() {
		return this.hot;
	}

	public void setHot(Integer hot) {
		this.hot = hot;
	}

	public Integer getVote() {
		return this.vote;
	}

	public void setVote(Integer vote) {
		this.vote = vote;
	}

	public Integer getFirstChapterId() {
		return this.firstChapterId;
	}

	public void setFirstChapterId(Integer firstChapterId) {
		this.firstChapterId = firstChapterId;
	}

	public Integer getDayHot() {
		return this.dayHot;
	}

	public void setDayHot(Integer dayHot) {
		this.dayHot = dayHot;
	}

	public Integer getWeekHot() {
		return this.weekHot;
	}

	public void setWeekHot(Integer weekHot) {
		this.weekHot = weekHot;
	}

	public Integer getMonthHot() {
		return this.monthHot;
	}

	public void setMonthHot(Integer monthHot) {
		this.monthHot = monthHot;
	}

	public Integer getIsOver() {
		return this.isOver;
	}

	public void setIsOver(Integer isOver) {
		this.isOver = isOver;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}

⌨️ 快捷键说明

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