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

📄 basemanage.java

📁 办公自动化项目
💻 JAVA
字号:
package com.t60.oa.po.base;

import java.io.Serializable;


/**
 * This class has been automatically generated by Hibernate Synchronizer. * For more information or documentation, visit The Hibernate Synchronizer page * at http://www.binamics.com/hibernatesync or contact Joe Hudson at joe@binamics.com. * * This is an object that contains data related to the Manage table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="Manage"
 */
public abstract class BaseManage  implements Serializable {

	public static String PROP_COPYNAME_I_D = "copynameID";
	public static String PROP_OFF_TYPE = "offType";
	public static String PROP_OFF_MODIFY = "offModify";
	public static String PROP_GRADE = "grade";
	public static String PROP_TATE = "tate";
	public static String PROP_OFF_I_D = "offID";
	public static String PROP_ADDRESE_I_D = "addreseID";
	public static String PROP_OFF_DATE = "offDate";
	public static String PROP_SEND_I_D = "sendID";
	public static String PROP_CONTENT = "content";
	public static String PROP_FINISH_DATE = "finishDate";


	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Integer _offID;

	// fields
	private java.lang.String _offModify;
	private boolean _tate;
	private java.util.Date _finishDate;
	private java.util.Date _offDate;
	private java.lang.String _content;
	private boolean _grade;
	private java.lang.String _offType;

	// many to one
	private com.t60.oa.po.Employee _addreseID;
	private com.t60.oa.po.Employee _copynameID;
	private com.t60.oa.po.Employee _sendID;

	// collections
	private java.util.Collection _offMoveSet;
	private java.util.Collection _copySet;


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

	/**
	 * Constructor for primary key
	 */
	public BaseManage (java.lang.Integer _offID) {
		this.setOffID(_offID);
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseManage (
		java.lang.Integer _offID,
		com.t60.oa.po.Employee _addreseID,
		com.t60.oa.po.Employee _copynameID,
		com.t60.oa.po.Employee _sendID,
		java.lang.String _offModify,
		java.lang.String _offType) {

		this.setOffID(_offID);
		this.setAddreseID(_addreseID);
		this.setCopynameID(_copynameID);
		this.setSendID(_sendID);
		this.setOffModify(_offModify);
		this.setOffType(_offType);
		initialize();
	}

	protected void initialize () {}



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="native"
     *  column="offID"
     */
	public java.lang.Integer getOffID () {
		return _offID;
	}

	/**
	 * Set the unique identifier of this class
	 * @param _offID the new ID
	 */
	public void setOffID (java.lang.Integer _offID) {
		this._offID = _offID;
		this.hashCode = Integer.MIN_VALUE;
	}


	/**
	 * Return the value associated with the column: OffModify
	 */
	public java.lang.String getOffModify () {
		return _offModify;
	}

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


	/**
	 * Return the value associated with the column: tate
	 */
	public boolean isTate () {
		return _tate;
	}

	/**
	 * Set the value related to the column: tate
	 * @param _tate the tate value
	 */
	public void setTate (boolean _tate) {
		this._tate = _tate;
	}


	/**
	 * Return the value associated with the column: finishDate
	 */
	public java.util.Date getFinishDate () {
		return _finishDate;
	}

	/**
	 * Set the value related to the column: finishDate
	 * @param _finishDate the finishDate value
	 */
	public void setFinishDate (java.util.Date _finishDate) {
		this._finishDate = _finishDate;
	}


	/**
	 * Return the value associated with the column: offDate
	 */
	public java.util.Date getOffDate () {
		return _offDate;
	}

	/**
	 * Set the value related to the column: offDate
	 * @param _offDate the offDate value
	 */
	public void setOffDate (java.util.Date _offDate) {
		this._offDate = _offDate;
	}


	/**
	 * 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: grade
	 */
	public boolean isGrade () {
		return _grade;
	}

	/**
	 * Set the value related to the column: grade
	 * @param _grade the grade value
	 */
	public void setGrade (boolean _grade) {
		this._grade = _grade;
	}


	/**
	 * Return the value associated with the column: offType
	 */
	public java.lang.String getOffType () {
		return _offType;
	}

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


	/**
     * @hibernate.property
     *  column=addreseID
	 * not-null=true
	 */
	public com.t60.oa.po.Employee getAddreseID () {
		return this._addreseID;
	}

	/**
	 * Set the value related to the column: addreseID
	 * @param _addreseID the addreseID value
	 */
	public void setAddreseID (com.t60.oa.po.Employee _addreseID) {
		this._addreseID = _addreseID;
	}


	/**
     * @hibernate.property
     *  column=copynameID
	 * not-null=true
	 */
	public com.t60.oa.po.Employee getCopynameID () {
		return this._copynameID;
	}

	/**
	 * Set the value related to the column: copynameID
	 * @param _copynameID the copynameID value
	 */
	public void setCopynameID (com.t60.oa.po.Employee _copynameID) {
		this._copynameID = _copynameID;
	}


	/**
     * @hibernate.property
     *  column=sendID
	 * not-null=true
	 */
	public com.t60.oa.po.Employee getSendID () {
		return this._sendID;
	}

	/**
	 * Set the value related to the column: sendID
	 * @param _sendID the sendID value
	 */
	public void setSendID (com.t60.oa.po.Employee _sendID) {
		this._sendID = _sendID;
	}


	/**	 * Return the value associated with the column: offMoveSet	 */	public java.util.Collection getOffMoveSet () {
		return this._offMoveSet;
	}

	/**
	 * Set the value related to the column: offMoveSet
	 * @param _offMoveSet the offMoveSet value
	 */
	public void setOffMoveSet (java.util.Collection _offMoveSet) {
		this._offMoveSet = _offMoveSet;
	}
	
	public void addToOffMoveSet (Object obj) {
		if (null == this._offMoveSet) this._offMoveSet = new java.util.ArrayList();
		this._offMoveSet.add(obj);
	}



	/**	 * Return the value associated with the column: copySet	 */	public java.util.Collection getCopySet () {
		return this._copySet;
	}

	/**
	 * Set the value related to the column: copySet
	 * @param _copySet the copySet value
	 */
	public void setCopySet (java.util.Collection _copySet) {
		this._copySet = _copySet;
	}
	
	public void addToCopySet (Object obj) {
		if (null == this._copySet) this._copySet = new java.util.ArrayList();
		this._copySet.add(obj);
	}



	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.t60.oa.po.base.BaseManage)) return false;
		else {
			com.t60.oa.po.base.BaseManage mObj = (com.t60.oa.po.base.BaseManage) obj;
			if (null == this.getOffID() || null == mObj.getOffID()) return false;
			else return (this.getOffID().equals(mObj.getOffID()));
		}
	}


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


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

}

⌨️ 快捷键说明

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