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

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

	public static String PROP_EXAMINE = "examine";
	public static String PROP_STATE = "state";
	public static String PROP_OUSER = "ouser";
	public static String PROP_CARTYPE = "cartype";
	public static String PROP_GAGEBREAKOUT = "gagebreakout";
	public static String PROP_BUSER = "buser";
	public static String PROP_FACTBREAKOUT = "factbreakout";
	public static String PROP_LUSE = "luse";
	public static String PROP_CARNUM = "carnum";
	public static String PROP_GAGEGIVEBACK = "gagegiveback";
	public static String PROP_EXCUSE = "excuse";
	public static String PROP_AUSE = "ause";
	public static String PROP_FACTGIVEBACK = "factgiveback";
	public static String PROP_ID = "id";


	private int hashCode = Integer.MIN_VALUE;

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

	// fields
	private java.util.Date _factbreakout;
	private java.util.Date _factgiveback;
	private java.lang.String _cartype;
	private java.util.Date _gagegiveback;
	private java.util.Date _gagebreakout;
	private java.lang.String _examine;
	private java.lang.String _excuse;
	private java.lang.String _state;

	// many to one
	private com.t60.oa.po.Car _carnum;
	private com.t60.oa.po.Employee _buser;
	private com.t60.oa.po.Employee _luse;
	private com.t60.oa.po.Employee _ause;
	private com.t60.oa.po.Employee _ouser;


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

	/**
	 * Constructor for primary key
	 */
	public BaseApply (java.lang.Integer _id) {
		this.setId(_id);
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseApply (
		java.lang.Integer _id,
		com.t60.oa.po.Car _carnum,
		com.t60.oa.po.Employee _buser,
		com.t60.oa.po.Employee _luse,
		com.t60.oa.po.Employee _ause,
		com.t60.oa.po.Employee _ouser,
		java.lang.String _state) {

		this.setId(_id);
		this.setCarnum(_carnum);
		this.setBuser(_buser);
		this.setLuse(_luse);
		this.setAuse(_ause);
		this.setOuser(_ouser);
		this.setState(_state);
		initialize();
	}

	protected void initialize () {}



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

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


	/**
	 * Return the value associated with the column: factbreakout
	 */
	public java.util.Date getFactbreakout () {
		return _factbreakout;
	}

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


	/**
	 * Return the value associated with the column: factgiveback
	 */
	public java.util.Date getFactgiveback () {
		return _factgiveback;
	}

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


	/**
	 * Return the value associated with the column: cartype
	 */
	public java.lang.String getCartype () {
		return _cartype;
	}

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


	/**
	 * Return the value associated with the column: gagegiveback
	 */
	public java.util.Date getGagegiveback () {
		return _gagegiveback;
	}

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


	/**
	 * Return the value associated with the column: gagebreakout
	 */
	public java.util.Date getGagebreakout () {
		return _gagebreakout;
	}

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


	/**
	 * Return the value associated with the column: examine
	 */
	public java.lang.String getExamine () {
		return _examine;
	}

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


	/**
	 * Return the value associated with the column: excuse
	 */
	public java.lang.String getExcuse () {
		return _excuse;
	}

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


	/**
	 * Return the value associated with the column: state
	 */
	public java.lang.String getState () {
		return _state;
	}

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


	/**
     * @hibernate.property
     *  column=carnum
	 * not-null=true
	 */
	public com.t60.oa.po.Car getCarnum () {
		return this._carnum;
	}

	/**
	 * Set the value related to the column: carnum
	 * @param _carnum the carnum value
	 */
	public void setCarnum (com.t60.oa.po.Car _carnum) {
		this._carnum = _carnum;
	}


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

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


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

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


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

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


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

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


	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.t60.oa.po.base.BaseApply)) return false;
		else {
			com.t60.oa.po.base.BaseApply mObj = (com.t60.oa.po.base.BaseApply) obj;
			if (null == this.getId() || null == mObj.getId()) return false;
			else return (this.getId().equals(mObj.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 + -