📄 baseemployee.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 Employee table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="Employee"
*/
public abstract class BaseEmployee implements Serializable {
public static String PROP_SEX = "sex";
public static String PROP_EMAIL = "email";
public static String PROP_PWD = "pwd";
public static String PROP_EMP_NAME = "empName";
public static String PROP_STATE = "state";
public static String PROP_LEAVE_TIME = "leaveTime";
public static String PROP_JOIN_TIME = "joinTime";
public static String PROP_BIRTH = "birth";
public static String PROP_ID = "id";
public static String PROP_EMP_DESC = "empDesc";
public static String PROP_XM = "xm";
public static String PROP_PHONE = "phone";
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.Integer _id;
// fields
private java.lang.String _phone;
private java.lang.String _sex;
private java.lang.String _leaveTime;
private java.lang.String _birth;
private java.lang.String _xm;
private java.lang.String _empDesc;
private java.lang.String _email;
private java.lang.Byte _state;
private java.lang.String _empName;
private java.lang.String _joinTime;
private java.lang.String _pwd;
// collections
private java.util.Collection _offMoveSet;
private java.util.Collection _doucumentFolderSetByOwnerId;
private java.util.Collection _depEmpSet;
private java.util.Collection _doucumentFolderSetByEditeId;
private java.util.Collection _officeResSetByStoreMan;
private java.util.Collection _officeResSetByReceiveMan;
private java.util.Collection _applySetByLuse;
private java.util.Collection _manageSetBySendID;
private java.util.Collection _manageSetByCopynameID;
private java.util.Collection _officeResSetByAuditMan;
private java.util.Collection _applySetByBuser;
private java.util.Collection _applySetByOuser;
private java.util.Collection _floadpurviewSet;
private java.util.Collection _purViewSet;
private java.util.Collection _copySet;
private java.util.Collection _manageSetByAddreseID;
private java.util.Collection _applySetByAuse;
private java.util.Collection _officeResSetByAppleMan;
private java.util.Collection _doucumentEditionSetByEditeId;;
// constructors
public BaseEmployee () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseEmployee (java.lang.Integer _id) {
this.setId(_id);
initialize();
}
protected void initialize () {}
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="native"
* column="empId"
*/
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: phone
*/
public java.lang.String getPhone () {
return _phone;
}
/**
* Set the value related to the column: phone
* @param _phone the phone value
*/
public void setPhone (java.lang.String _phone) {
this._phone = _phone;
}
/**
* Return the value associated with the column: sex
*/
public java.lang.String getSex () {
return _sex;
}
/**
* Set the value related to the column: sex
* @param _sex the sex value
*/
public void setSex (java.lang.String _sex) {
this._sex = _sex;
}
/**
* Return the value associated with the column: leaveTime
*/
public java.lang.String getLeaveTime () {
return _leaveTime;
}
/**
* Set the value related to the column: leaveTime
* @param _leaveTime the leaveTime value
*/
public void setLeaveTime (java.lang.String _leaveTime) {
this._leaveTime = _leaveTime;
}
/**
* Return the value associated with the column: birth
*/
public java.lang.String getBirth () {
return _birth;
}
/**
* Set the value related to the column: birth
* @param _birth the birth value
*/
public void setBirth (java.lang.String _birth) {
this._birth = _birth;
}
/**
* Return the value associated with the column: xm
*/
public java.lang.String getXm () {
return _xm;
}
/**
* Set the value related to the column: xm
* @param _xm the xm value
*/
public void setXm (java.lang.String _xm) {
this._xm = _xm;
}
/**
* Return the value associated with the column: empDesc
*/
public java.lang.String getEmpDesc () {
return _empDesc;
}
/**
* Set the value related to the column: empDesc
* @param _empDesc the empDesc value
*/
public void setEmpDesc (java.lang.String _empDesc) {
this._empDesc = _empDesc;
}
/**
* Return the value associated with the column: email
*/
public java.lang.String getEmail () {
return _email;
}
/**
* Set the value related to the column: email
* @param _email the email value
*/
public void setEmail (java.lang.String _email) {
this._email = _email;
}
/**
* Return the value associated with the column: state
*/
public java.lang.Byte getState () {
return _state;
}
/**
* Set the value related to the column: state
* @param _state the state value
*/
public void setState (java.lang.Byte _state) {
this._state = _state;
}
/**
* Return the value associated with the column: empName
*/
public java.lang.String getEmpName () {
return _empName;
}
/**
* Set the value related to the column: empName
* @param _empName the empName value
*/
public void setEmpName (java.lang.String _empName) {
this._empName = _empName;
}
/**
* Return the value associated with the column: joinTime
*/
public java.lang.String getJoinTime () {
return _joinTime;
}
/**
* Set the value related to the column: joinTime
* @param _joinTime the joinTime value
*/
public void setJoinTime (java.lang.String _joinTime) {
this._joinTime = _joinTime;
}
/**
* Return the value associated with the column: pwd
*/
public java.lang.String getPwd () {
return _pwd;
}
/**
* Set the value related to the column: pwd
* @param _pwd the pwd value
*/
public void setPwd (java.lang.String _pwd) {
this._pwd = _pwd;
}
/**
* 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: doucumentFolderSetByOwnerId
*/
public java.util.Collection getDoucumentFolderSetByOwnerId () {
return this._doucumentFolderSetByOwnerId;
}
/**
* Set the value related to the column: doucumentFolderSetByOwnerId
* @param _doucumentFolderSetByOwnerId the doucumentFolderSetByOwnerId value
*/
public void setDoucumentFolderSetByOwnerId (java.util.Collection _doucumentFolderSetByOwnerId) {
this._doucumentFolderSetByOwnerId = _doucumentFolderSetByOwnerId;
}
public void addToDoucumentFolderSetByOwnerId (Object obj) {
if (null == this._doucumentFolderSetByOwnerId) this._doucumentFolderSetByOwnerId = new java.util.ArrayList();
this._doucumentFolderSetByOwnerId.add(obj);
}
/**
* Return the value associated with the column: depEmpSet
*/
public java.util.Collection getDepEmpSet () {
return this._depEmpSet;
}
/**
* Set the value related to the column: depEmpSet
* @param _depEmpSet the depEmpSet value
*/
public void setDepEmpSet (java.util.Collection _depEmpSet) {
this._depEmpSet = _depEmpSet;
}
public void addToDepEmpSet (Object obj) {
if (null == this._depEmpSet) this._depEmpSet = new java.util.ArrayList();
this._depEmpSet.add(obj);
}
/**
* Return the value associated with the column: doucumentFolderSetByEditeId
*/
public java.util.Collection getDoucumentFolderSetByEditeId () {
return this._doucumentFolderSetByEditeId;
}
/**
* Set the value related to the column: doucumentFolderSetByEditeId
* @param _doucumentFolderSetByEditeId the doucumentFolderSetByEditeId value
*/
public void setDoucumentFolderSetByEditeId (java.util.Collection _doucumentFolderSetByEditeId) {
this._doucumentFolderSetByEditeId = _doucumentFolderSetByEditeId;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -