📄 basearticle.java
字号:
package com.jeecms.article.entity.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the arti_article table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="arti_article"
*/
public abstract class BaseArticle implements Serializable {
public static String REF = "Article";
public static String PROP_SHORT_TITLE = "shortTitle";
public static String PROP_MEMBER = "member";
public static String PROP_CHANNEL = "channel";
public static String PROP_DRAFT = "draft";
public static String PROP_AUTHOR = "author";
public static String PROP_ORIGIN = "origin";
public static String PROP_PRE = "pre";
public static String PROP_GROUP = "group";
public static String PROP_RECOMMEND = "recommend";
public static String PROP_ADMIN_INPUT = "adminInput";
public static String PROP_RELEASE_SYS_DATE = "releaseSysDate";
public static String PROP_DISABLED = "disabled";
public static String PROP_CHECK_TIME = "checkTime";
public static String PROP_ADMIN_CHECK = "adminCheck";
public static String PROP_DISABLE_TIME = "disableTime";
public static String PROP_REJECT = "reject";
public static String PROP_CHECK_STEP = "checkStep";
public static String PROP_TPL_CONTENT = "tplContent";
public static String PROP_CHECK = "check";
public static String PROP_DESCRIPTION = "description";
public static String PROP_ADMIN_DISABLE = "adminDisable";
public static String PROP_TITLE_IMG = "titleImg";
public static String PROP_OUTER_URL = "outerUrl";
public static String PROP_CONTENT_RES_PATH = "contentResPath";
public static String PROP_WEBSITE = "website";
public static String PROP_VISIT_TODAY = "visitToday";
public static String PROP_TITLE = "title";
public static String PROP_PAGE_COUNT = "pageCount";
public static String PROP_NEXT = "next";
public static String PROP_TAGS = "tags";
public static String PROP_CHECK_OPINION = "checkOpinion";
public static String PROP_PARAM3 = "param3";
public static String PROP_PARAM2 = "param2";
public static String PROP_VISIT_TOTAL = "visitTotal";
public static String PROP_PARAM1 = "param1";
public static String PROP_ID = "id";
public static String PROP_STAT_DATE = "statDate";
public static String PROP_RELEASE_DATE = "releaseDate";
// constructors
public BaseArticle () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseArticle (java.lang.Long id) {
this.setId(id);
initialize();
}
/**
* Constructor for required fields
*/
public BaseArticle (
java.lang.Long id,
com.jeecms.cms.entity.CmsChannel channel,
com.jeecms.core.entity.Website website,
java.lang.Boolean draft,
java.lang.Boolean recommend,
java.lang.Boolean check,
java.lang.Boolean disabled,
java.lang.Boolean reject) {
this.setId(id);
this.setChannel(channel);
this.setWebsite(website);
this.setDraft(draft);
this.setRecommend(recommend);
this.setCheck(check);
this.setDisabled(disabled);
this.setReject(reject);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.Long id;
// fields
private java.lang.String title;
private java.lang.String shortTitle;
private java.lang.String titleImg;
private java.lang.String description;
private java.lang.String tags;
private java.lang.String author;
private java.lang.String origin;
private java.util.Date releaseDate;
private java.util.Date releaseSysDate;
private java.util.Date checkTime;
private java.util.Date disableTime;
private java.lang.Long visitTotal;
private java.lang.Long visitToday;
private java.util.Date statDate;
private java.lang.String outerUrl;
private java.lang.String contentResPath;
private java.lang.Integer pageCount;
private java.lang.String tplContent;
private java.lang.Integer checkStep;
private java.lang.String checkOpinion;
private java.lang.Boolean draft;
private java.lang.Boolean recommend;
private java.lang.Boolean check;
private java.lang.Boolean disabled;
private java.lang.Boolean reject;
private java.lang.String param1;
private java.lang.String param2;
private java.lang.String param3;
// many to one
private com.jeecms.article.entity.Article next;
private com.jeecms.article.entity.Article pre;
private com.jeecms.cms.entity.CmsAdmin adminDisable;
private com.jeecms.cms.entity.CmsMemberGroup group;
private com.jeecms.cms.entity.CmsChannel channel;
private com.jeecms.core.entity.Website website;
private com.jeecms.cms.entity.CmsAdmin adminCheck;
private com.jeecms.cms.entity.CmsAdmin adminInput;
private com.jeecms.cms.entity.CmsMember member;
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="native"
* column="ARTICLE_ID"
*/
public java.lang.Long getId () {
return id;
}
/**
* Set the unique identifier of this class
* @param id the new ID
*/
public void setId (java.lang.Long id) {
this.id = id;
this.hashCode = Integer.MIN_VALUE;
}
/**
* Return the value associated with the column: TITLE
*/
public java.lang.String getTitle () {
return title;
}
/**
* Set the value related to the column: TITLE
* @param title the TITLE value
*/
public void setTitle (java.lang.String title) {
this.title = title;
}
/**
* Return the value associated with the column: SHORT_TITLE
*/
public java.lang.String getShortTitle () {
return shortTitle;
}
/**
* Set the value related to the column: SHORT_TITLE
* @param shortTitle the SHORT_TITLE value
*/
public void setShortTitle (java.lang.String shortTitle) {
this.shortTitle = shortTitle;
}
/**
* Return the value associated with the column: TITLE_IMG
*/
public java.lang.String getTitleImg () {
return titleImg;
}
/**
* Set the value related to the column: TITLE_IMG
* @param titleImg the TITLE_IMG value
*/
public void setTitleImg (java.lang.String titleImg) {
this.titleImg = titleImg;
}
/**
* Return the value associated with the column: DESCRIPTION
*/
public java.lang.String getDescription () {
return description;
}
/**
* Set the value related to the column: DESCRIPTION
* @param description the DESCRIPTION value
*/
public void setDescription (java.lang.String description) {
this.description = description;
}
/**
* Return the value associated with the column: TAGS
*/
public java.lang.String getTags () {
return tags;
}
/**
* Set the value related to the column: TAGS
* @param tags the TAGS value
*/
public void setTags (java.lang.String tags) {
this.tags = tags;
}
/**
* Return the value associated with the column: AUTHOR
*/
public java.lang.String getAuthor () {
return author;
}
/**
* Set the value related to the column: AUTHOR
* @param author the AUTHOR value
*/
public void setAuthor (java.lang.String author) {
this.author = author;
}
/**
* Return the value associated with the column: ORIGIN
*/
public java.lang.String getOrigin () {
return origin;
}
/**
* Set the value related to the column: ORIGIN
* @param origin the ORIGIN value
*/
public void setOrigin (java.lang.String origin) {
this.origin = origin;
}
/**
* Return the value associated with the column: RELEASE_DATE
*/
public java.util.Date getReleaseDate () {
return releaseDate;
}
/**
* Set the value related to the column: RELEASE_DATE
* @param releaseDate the RELEASE_DATE value
*/
public void setReleaseDate (java.util.Date releaseDate) {
this.releaseDate = releaseDate;
}
/**
* Return the value associated with the column: RELEASE_SYS_DATE
*/
public java.util.Date getReleaseSysDate () {
return releaseSysDate;
}
/**
* Set the value related to the column: RELEASE_SYS_DATE
* @param releaseSysDate the RELEASE_SYS_DATE value
*/
public void setReleaseSysDate (java.util.Date releaseSysDate) {
this.releaseSysDate = releaseSysDate;
}
/**
* Return the value associated with the column: CHECK_TIME
*/
public java.util.Date getCheckTime () {
return checkTime;
}
/**
* Set the value related to the column: CHECK_TIME
* @param checkTime the CHECK_TIME value
*/
public void setCheckTime (java.util.Date checkTime) {
this.checkTime = checkTime;
}
/**
* Return the value associated with the column: DISABLE_TIME
*/
public java.util.Date getDisableTime () {
return disableTime;
}
/**
* Set the value related to the column: DISABLE_TIME
* @param disableTime the DISABLE_TIME value
*/
public void setDisableTime (java.util.Date disableTime) {
this.disableTime = disableTime;
}
/**
* Return the value associated with the column: VISIT_TOTAL
*/
public java.lang.Long getVisitTotal () {
return visitTotal;
}
/**
* Set the value related to the column: VISIT_TOTAL
* @param visitTotal the VISIT_TOTAL value
*/
public void setVisitTotal (java.lang.Long visitTotal) {
this.visitTotal = visitTotal;
}
/**
* Return the value associated with the column: VISIT_TODAY
*/
public java.lang.Long getVisitToday () {
return visitToday;
}
/**
* Set the value related to the column: VISIT_TODAY
* @param visitToday the VISIT_TODAY value
*/
public void setVisitToday (java.lang.Long visitToday) {
this.visitToday = visitToday;
}
/**
* Return the value associated with the column: STAT_DATE
*/
public java.util.Date getStatDate () {
return statDate;
}
/**
* Set the value related to the column: STAT_DATE
* @param statDate the STAT_DATE value
*/
public void setStatDate (java.util.Date statDate) {
this.statDate = statDate;
}
/**
* Return the value associated with the column: OUTER_URL
*/
public java.lang.String getOuterUrl () {
return outerUrl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -