📄 abstractstory.java.svn-base
字号:
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;
// 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) {
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;
}
/** 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) {
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;
}
// 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -