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

📄 baseoffmove.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 OffMove table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="OffMove"
 */
public abstract class BaseOffMove  implements Serializable {

	public static String PROP_MANAGE = "manage";
	public static String PROP_SP_I_D = "spID";
	public static String PROP_ACCESSORIES = "accessories";
	public static String PROP_FINISHDATE = "finishdate";
	public static String PROP_MOVE_I_D = "moveID";
	public static String PROP_TATE = "tate";
	public static String PROP_MOVE_NAME = "moveName";
	public static String PROP_RECEIVE_DATE = "receiveDate";
	public static String PROP_CONTENT = "content";


	private int hashCode = Integer.MIN_VALUE;

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

	// fields
	private boolean _tate;
	private java.util.Date _receiveDate;
	private java.util.Date _finishdate;
	private java.lang.String _content;
	private java.lang.String _moveName;

	// many to one
	private com.t60.oa.po.Manage _manage;
	private com.t60.oa.po.Accessories _accessories;
	private com.t60.oa.po.Employee _spID;

	// collections
	private java.util.Collection _copySet;


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

	/**
	 * Constructor for primary key
	 */
	public BaseOffMove (java.lang.Integer _moveID) {
		this.setMoveID(_moveID);
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseOffMove (
		java.lang.Integer _moveID,
		com.t60.oa.po.Manage _manage,
		com.t60.oa.po.Accessories _accessories,
		com.t60.oa.po.Employee _spID) {

		this.setMoveID(_moveID);
		this.setManage(_manage);
		this.setAccessories(_accessories);
		this.setSpID(_spID);
		initialize();
	}

	protected void initialize () {}



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

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


	/**
	 * 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: receiveDate
	 */
	public java.util.Date getReceiveDate () {
		return _receiveDate;
	}

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


	/**
	 * 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: 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: moveName
	 */
	public java.lang.String getMoveName () {
		return _moveName;
	}

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


	/**
     * @hibernate.property
     *  column=manage
	 * not-null=true
	 */
	public com.t60.oa.po.Manage getManage () {
		return this._manage;
	}

	/**
	 * Set the value related to the column: manage
	 * @param _manage the manage value
	 */
	public void setManage (com.t60.oa.po.Manage _manage) {
		this._manage = _manage;
	}


	/**
     * @hibernate.property
     *  column=accessories
	 * not-null=true
	 */
	public com.t60.oa.po.Accessories getAccessories () {
		return this._accessories;
	}

	/**
	 * Set the value related to the column: accessories
	 * @param _accessories the accessories value
	 */
	public void setAccessories (com.t60.oa.po.Accessories _accessories) {
		this._accessories = _accessories;
	}


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

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


	/**	 * 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.BaseOffMove)) return false;
		else {
			com.t60.oa.po.base.BaseOffMove mObj = (com.t60.oa.po.base.BaseOffMove) obj;
			if (null == this.getMoveID() || null == mObj.getMoveID()) return false;
			else return (this.getMoveID().equals(mObj.getMoveID()));
		}
	}


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


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

}

⌨️ 快捷键说明

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