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

📄 baseauxiconfig.java

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

import java.io.Serializable;


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

public abstract class BaseAuxiConfig  implements Serializable {

	public static String REF = "AuxiConfig";
	public static String PROP_WEBSITE = "website";
	public static String PROP_MSG_NEED_CHECK = "msgNeedCheck";
	public static String PROP_MSG_IS_OPEN = "msgIsOpen";
	public static String PROP_ID = "id";
	public static String PROP_TPL_SOLUTION = "tplSolution";


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

	/**
	 * Constructor for primary key
	 */
	public BaseAuxiConfig (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 msgNeedCheck;
	private java.lang.Boolean msgIsOpen;
	private java.lang.String tplSolution;

	// 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: MSG_NEED_CHECK
	 */
	public java.lang.Boolean getMsgNeedCheck () {
		return msgNeedCheck;
	}

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



	/**
	 * Return the value associated with the column: MSG_IS_OPEN
	 */
	public java.lang.Boolean getMsgIsOpen () {
		return msgIsOpen;
	}

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



	/**
	 * Return the value associated with the column: TPL_SOLUTION
	 */
	public java.lang.String getTplSolution () {
		return tplSolution;
	}

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



	/**
	 * 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.auxiliary.entity.AuxiConfig)) return false;
		else {
			com.jeecms.auxiliary.entity.AuxiConfig auxiConfig = (com.jeecms.auxiliary.entity.AuxiConfig) obj;
			if (null == this.getId() || null == auxiConfig.getId()) return false;
			else return (this.getId().equals(auxiConfig.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 + -