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

📄 basecmsconfig.java

📁 JEECSM是JavaEE版网站管理系统(Java Enterprise Edition Content Manage System)的简称。 基于java技术开发
💻 JAVA
字号:
package com.jeecms.cms.entity.base;

import java.io.Serializable;


/**
 * This is an object that contains data related to the cms_config 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_config"
 */

public abstract class BaseCmsConfig  implements Serializable {

	public static String REF = "CmsConfig";
	public static String PROP_TPL_PICTURE = "tplPicture";
	public static String PROP_COMMENT_NEED_CHECK = "commentNeedCheck";
	public static String PROP_WEBSITE = "website";
	public static String PROP_CHECK_COUNT = "checkCount";
	public static String PROP_ID = "id";
	public static String PROP_TPL_MEMBER = "tplMember";
	public static String PROP_TPL_DOWNLOAD = "tplDownload";
	public static String PROP_DEFAULT_SYSTEM = "defaultSystem";
	public static String PROP_TPL_ARTICLE = "tplArticle";


	// constructors
	public BaseCmsConfig () {
		initialize();
	}

	/**
	 * Constructor for primary key
	 */
	public BaseCmsConfig (java.lang.Long id) {
		this.setId(id);
		initialize();
	}

	protected void initialize () {}



	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Long id;

	// fields
	private java.lang.Boolean commentNeedCheck;
	private java.lang.Integer checkCount;
	private java.lang.String tplArticle;
	private java.lang.String tplPicture;
	private java.lang.String tplDownload;
	private java.lang.String tplMember;
	private java.lang.String defaultSystem;

	// one to one
	private com.jeecms.core.entity.Website website;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="foreign"
     *  column="CONFIG_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: COMMENT_NEED_CHECK
	 */
	public java.lang.Boolean getCommentNeedCheck () {
		return commentNeedCheck;
	}

	/**
	 * Set the value related to the column: COMMENT_NEED_CHECK
	 * @param commentNeedCheck the COMMENT_NEED_CHECK value
	 */
	public void setCommentNeedCheck (java.lang.Boolean commentNeedCheck) {
		this.commentNeedCheck = commentNeedCheck;
	}



	/**
	 * Return the value associated with the column: CHECK_COUNT
	 */
	public java.lang.Integer getCheckCount () {
		return checkCount;
	}

	/**
	 * Set the value related to the column: CHECK_COUNT
	 * @param checkCount the CHECK_COUNT value
	 */
	public void setCheckCount (java.lang.Integer checkCount) {
		this.checkCount = checkCount;
	}



	/**
	 * Return the value associated with the column: TPL_ARTICLE
	 */
	public java.lang.String getTplArticle () {
		return tplArticle;
	}

	/**
	 * Set the value related to the column: TPL_ARTICLE
	 * @param tplArticle the TPL_ARTICLE value
	 */
	public void setTplArticle (java.lang.String tplArticle) {
		this.tplArticle = tplArticle;
	}



	/**
	 * Return the value associated with the column: TPL_PICTURE
	 */
	public java.lang.String getTplPicture () {
		return tplPicture;
	}

	/**
	 * Set the value related to the column: TPL_PICTURE
	 * @param tplPicture the TPL_PICTURE value
	 */
	public void setTplPicture (java.lang.String tplPicture) {
		this.tplPicture = tplPicture;
	}



	/**
	 * Return the value associated with the column: TPL_DOWNLOAD
	 */
	public java.lang.String getTplDownload () {
		return tplDownload;
	}

	/**
	 * Set the value related to the column: TPL_DOWNLOAD
	 * @param tplDownload the TPL_DOWNLOAD value
	 */
	public void setTplDownload (java.lang.String tplDownload) {
		this.tplDownload = tplDownload;
	}



	/**
	 * Return the value associated with the column: TPL_MEMBER
	 */
	public java.lang.String getTplMember () {
		return tplMember;
	}

	/**
	 * Set the value related to the column: TPL_MEMBER
	 * @param tplMember the TPL_MEMBER value
	 */
	public void setTplMember (java.lang.String tplMember) {
		this.tplMember = tplMember;
	}



	/**
	 * Return the value associated with the column: DEFAULT_SYSTEM
	 */
	public java.lang.String getDefaultSystem () {
		return defaultSystem;
	}

	/**
	 * Set the value related to the column: DEFAULT_SYSTEM
	 * @param defaultSystem the DEFAULT_SYSTEM value
	 */
	public void setDefaultSystem (java.lang.String defaultSystem) {
		this.defaultSystem = defaultSystem;
	}



	/**
	 * Return the value associated with the column: website
	 */
	public com.jeecms.core.entity.Website getWebsite () {
		return website;
	}

	/**
	 * Set the value related to the column: website
	 * @param website the website value
	 */
	public void setWebsite (com.jeecms.core.entity.Website website) {
		this.website = website;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.jeecms.cms.entity.CmsConfig)) return false;
		else {
			com.jeecms.cms.entity.CmsConfig cmsConfig = (com.jeecms.cms.entity.CmsConfig) obj;
			if (null == this.getId() || null == cmsConfig.getId()) return false;
			else return (this.getId().equals(cmsConfig.getId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}

⌨️ 快捷键说明

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