?? basecmschannel.java
字號:
package com.jeecms.cms.entity.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the CMS_CHANNEL table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="CMS_CHANNEL"
*/
public abstract class BaseCmsChannel implements Serializable {
public static String REF = "CmsChannel";
public static String PROP_DEF_STR9 = "defStr9";
public static String PROP_DEF_MONEY2 = "defMoney2";
public static String PROP_KEYWORDS = "keywords";
public static String PROP_SYS_TYPE = "sysType";
public static String PROP_VISIT_TOTAL = "visitTotal";
public static String PROP_CONFIG = "config";
public static String PROP_DEF_LONG4 = "defLong4";
public static String PROP_GROUP_CONTRIBUTE = "groupContribute";
public static String PROP_CONTENT = "content";
public static String PROP_PARAM1 = "param1";
public static String PROP_DEF_STR5 = "defStr5";
public static String PROP_DEF_STR2 = "defStr2";
public static String PROP_DEF_BOOL1 = "defBool1";
public static String PROP_TPL_INDEX = "tplIndex";
public static String PROP_MODEL = "model";
public static String PROP_DEF_DATE2 = "defDate2";
public static String PROP_GROUP_VISIT = "groupVisit";
public static String PROP_PATH = "path";
public static String PROP_DISPLAY = "display";
public static String PROP_TITLE = "title";
public static String PROP_PARAM2 = "param2";
public static String PROP_DEF_STR6 = "defStr6";
public static String PROP_DEF_STR1 = "defStr1";
public static String PROP_DEF_DATE3 = "defDate3";
public static String PROP_DEF_STR4 = "defStr4";
public static String PROP_RGT = "rgt";
public static String PROP_PRIORITY = "priority";
public static String PROP_HAS_CHILD = "hasChild";
public static String PROP_STAT_DATE = "statDate";
public static String PROP_DEF_MONEY3 = "defMoney3";
public static String PROP_DESCRIPTION = "description";
public static String PROP_PARAM3 = "param3";
public static String PROP_DEF_STR3 = "defStr3";
public static String PROP_DEF_BOOL3 = "defBool3";
public static String PROP_NAME = "name";
public static String PROP_DOC_COUNT = "docCount";
public static String PROP_DEF_LONG5 = "defLong5";
public static String PROP_DEF_BOOL2 = "defBool2";
public static String PROP_DEF_LONG2 = "defLong2";
public static String PROP_WEBSITE = "website";
public static String PROP_VISIT_TODAY = "visitToday";
public static String PROP_DEF_DATE1 = "defDate1";
public static String PROP_DEF_STR8 = "defStr8";
public static String PROP_DEF_MONEY1 = "defMoney1";
public static String PROP_HAS_TITLE_IMG = "hasTitleImg";
public static String PROP_TPL_CONTENT = "tplContent";
public static String PROP_OUTER_URL = "outerUrl";
public static String PROP_DEF_LONG1 = "defLong1";
public static String PROP_DEF_STR7 = "defStr7";
public static String PROP_LFT = "lft";
public static String PROP_TITLE_IMG = "titleImg";
public static String PROP_PARENT = "parent";
public static String PROP_DEF_LONG3 = "defLong3";
public static String PROP_ID = "id";
public static String PROP_CONTENT_IMG = "contentImg";
// constructors
public BaseCmsChannel () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseCmsChannel (java.lang.Long id) {
this.setId(id);
initialize();
}
/**
* Constructor for required fields
*/
public BaseCmsChannel (
java.lang.Long id,
com.jeecms.cms.entity.ChnlModel model,
com.jeecms.cms.entity.CmsConfig config,
com.jeecms.core.entity.Website website,
java.lang.String sysType,
java.lang.Integer lft,
java.lang.Integer rgt,
java.lang.Integer docCount,
java.lang.Integer priority,
java.lang.Boolean hasTitleImg,
java.lang.Boolean hasChild,
java.lang.Boolean display) {
this.setId(id);
this.setModel(model);
this.setConfig(config);
this.setWebsite(website);
this.setSysType(sysType);
this.setLft(lft);
this.setRgt(rgt);
this.setDocCount(docCount);
this.setPriority(priority);
this.setHasTitleImg(hasTitleImg);
this.setHasChild(hasChild);
this.setDisplay(display);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.Long id;
// fields
private java.lang.String sysType;
private java.lang.String path;
private java.lang.Integer lft;
private java.lang.Integer rgt;
private java.lang.String name;
private java.lang.String content;
private java.lang.String titleImg;
private java.lang.String contentImg;
private java.lang.String tplIndex;
private java.lang.String tplContent;
private java.lang.String title;
private java.lang.String keywords;
private java.lang.String description;
private java.lang.Integer docCount;
private java.lang.Long visitTotal;
private java.lang.Long visitToday;
private java.util.Date statDate;
private java.lang.String outerUrl;
private java.lang.Integer priority;
private java.lang.Boolean hasTitleImg;
private java.lang.Boolean hasChild;
private java.lang.Boolean display;
private java.lang.String param1;
private java.lang.String param2;
private java.lang.String param3;
private java.lang.String defStr1;
private java.lang.String defStr2;
private java.lang.String defStr3;
private java.lang.String defStr4;
private java.lang.String defStr5;
private java.lang.String defStr6;
private java.lang.String defStr7;
private java.lang.String defStr8;
private java.lang.String defStr9;
private java.lang.Long defLong1;
private java.lang.Long defLong2;
private java.lang.Long defLong3;
private java.lang.Long defLong4;
private java.lang.Long defLong5;
private java.math.BigDecimal defMoney1;
private java.math.BigDecimal defMoney2;
private java.math.BigDecimal defMoney3;
private java.util.Date defDate1;
private java.util.Date defDate2;
private java.util.Date defDate3;
private java.lang.Boolean defBool1;
private java.lang.Boolean defBool2;
private java.lang.Boolean defBool3;
// many to one
private com.jeecms.cms.entity.CmsMemberGroup groupContribute;
private com.jeecms.cms.entity.CmsMemberGroup groupVisit;
private com.jeecms.cms.entity.CmsChannel parent;
private com.jeecms.cms.entity.ChnlModel model;
private com.jeecms.cms.entity.CmsConfig config;
private com.jeecms.core.entity.Website website;
// collections
private java.util.Set<com.jeecms.cms.entity.CmsChannel> child;
private java.util.Set<com.jeecms.core.entity.Attachment> attachments;
private java.util.Set<com.jeecms.cms.entity.CmsAdmin> admins;
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="native"
* column="CHANNEL_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: SYS_TYPE
*/
public java.lang.String getSysType () {
return sysType;
}
/**
* Set the value related to the column: SYS_TYPE
* @param sysType the SYS_TYPE value
*/
public void setSysType (java.lang.String sysType) {
this.sysType = sysType;
}
/**
* Return the value associated with the column: PATH
*/
public java.lang.String getPath () {
return path;
}
/**
* Set the value related to the column: PATH
* @param path the PATH value
*/
public void setPath (java.lang.String path) {
this.path = path;
}
/**
* Return the value associated with the column: LFT
*/
public java.lang.Integer getLft () {
return lft;
}
/**
* Set the value related to the column: LFT
* @param lft the LFT value
*/
public void setLft (java.lang.Integer lft) {
this.lft = lft;
}
/**
* Return the value associated with the column: RGT
*/
public java.lang.Integer getRgt () {
return rgt;
}
/**
* Set the value related to the column: RGT
* @param rgt the RGT value
*/
public void setRgt (java.lang.Integer rgt) {
this.rgt = rgt;
}
/**
* Return the value associated with the column: NAME
*/
public java.lang.String getName () {
return name;
}
/**
* Set the value related to the column: NAME
* @param name the NAME value
*/
public void setName (java.lang.String name) {
this.name = name;
}
/**
* Return the value associated with the column: CONTENT
*/
public java.lang.String getContent () {
return content;
}
/**
* Set the value related to the column: CONTENT
* @param content the CONTENT value
*/
public void setContent (java.lang.String content) {
this.content = content;
}
/**
* 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: CONTENT_IMG
*/
public java.lang.String getContentImg () {
return contentImg;
}
/**
* Set the value related to the column: CONTENT_IMG
* @param contentImg the CONTENT_IMG value
*/
public void setContentImg (java.lang.String contentImg) {
this.contentImg = contentImg;
}
/**
* Return the value associated with the column: TPL_INDEX
*/
public java.lang.String getTplIndex () {
return tplIndex;
}
/**
* Set the value related to the column: TPL_INDEX
* @param tplIndex the TPL_INDEX value
*/
public void setTplIndex (java.lang.String tplIndex) {
this.tplIndex = tplIndex;
}
/**
* Return the value associated with the column: TPL_CONTENT
*/
public java.lang.String getTplContent () {
return tplContent;
}
/**
* Set the value related to the column: TPL_CONTENT
* @param tplContent the TPL_CONTENT value
*/
public void setTplContent (java.lang.String tplContent) {
this.tplContent = tplContent;
}
/**
* 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: KEYWORDS
*/
public java.lang.String getKeywords () {
return keywords;
}
/**
* Set the value related to the column: KEYWORDS
* @param keywords the KEYWORDS value
*/
public void setKeywords (java.lang.String keywords) {
this.keywords = keywords;
}
/**
* 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: DOC_COUNT
*/
public java.lang.Integer getDocCount () {
return docCount;
}
/**
* Set the value related to the column: DOC_COUNT
* @param docCount the DOC_COUNT value
*/
public void setDocCount (java.lang.Integer docCount) {
this.docCount = docCount;
}
/**
* 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;
}
/**
* Set the value related to the column: OUTER_URL
* @param outerUrl the OUTER_URL value
*/
public void setOuterUrl (java.lang.String outerUrl) {
this.outerUrl = outerUrl;
}
/**
* Return the value associated with the column: PRIORITY
*/
public java.lang.Integer getPriority () {
return priority;
}
/**
* Set the value related to the column: PRIORITY
* @param priority the PRIORITY value
*/
public void setPriority (java.lang.Integer priority) {
this.priority = priority;
}
/**
* Return the value associated with the column: HAS_TITLEIMG
*/
public java.lang.Boolean getHasTitleImg () {
return hasTitleImg;
}
/**
* Set the value related to the column: HAS_TITLEIMG
* @param hasTitleImg the HAS_TITLEIMG value
*/
public void setHasTitleImg (java.lang.Boolean hasTitleImg) {
this.hasTitleImg = hasTitleImg;
}
/**
* Return the value associated with the column: HAS_CHILD
*/
public java.lang.Boolean getHasChild () {
return hasChild;
}
/**
* Set the value related to the column: HAS_CHILD
* @param hasChild the HAS_CHILD value
*/
public void setHasChild (java.lang.Boolean hasChild) {
this.hasChild = hasChild;
}
/**
* Return the value associated with the column: IS_DISPLAY
*/
public java.lang.Boolean getDisplay () {
return display;
}
/**
* Set the value related to the column: IS_DISPLAY
* @param display the IS_DISPLAY value
*/
public void setDisplay (java.lang.Boolean display) {
this.display = display;
}
/**
* Return the value associated with the column: PARAM1
*/
public java.lang.String getParam1 () {
return param1;
}
/**
* Set the value related to the column: PARAM1
* @param param1 the PARAM1 value
*/
public void setParam1 (java.lang.String param1) {
this.param1 = param1;
}
/**
* Return the value associated with the column: PARAM2
*/
public java.lang.String getParam2 () {
return param2;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -