/// ///Data Object ///BASIC CLASS FOR TABLE t_Employee ///By wm ///on 08/04/2023 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region Employee_base /// /// This object represents the properties and methods of a Employee_base. /// [Serializable] public class Employee_base : BaseModel { internal string _em_name = String.Empty,_Oem_name= String.Empty; internal bool _em_sex,_Oem_sex; internal string _em_birthday = String.Empty,_Oem_birthday= String.Empty; internal string _em_education = String.Empty,_Oem_education= String.Empty; internal string _em_dept = String.Empty,_Oem_dept= String.Empty; internal string _em_jobcode = String.Empty,_Oem_jobcode= String.Empty; internal string _em_type = String.Empty,_Oem_type= String.Empty; internal string _em_idnum = String.Empty,_Oem_idnum= String.Empty; internal string _em_cellnum = String.Empty,_Oem_cellnum= String.Empty; internal string _em_email = String.Empty,_Oem_email= String.Empty; internal string _em_account = String.Empty,_Oem_account= String.Empty; internal string _em_passwd = String.Empty,_Oem_passwd= String.Empty; internal string _em_profile = String.Empty,_Oem_profile= String.Empty; internal string _token = String.Empty,_Otoken= String.Empty; internal int _Ooperater; internal string _create_time = String.Empty,_Ocreate_time= String.Empty; internal bool _em_isOnline,_Oem_isOnline; public Employee_base () { } public Employee_base (int id) { _id=id; getModel(); } public Employee_base(DataRow dr) { getModel(dr); } public Employee_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new Employee_base_Imp(); } #region Public Properties public string em_name{ get {return _em_name;} set {_em_name = value;} } public bool em_sex{ get {return _em_sex;} set {_em_sex = value;} } public string em_birthday{ get {return _em_birthday;} set {_em_birthday = value;} } public string em_education{ get {return _em_education;} set {_em_education = value;} } public string em_dept{ get {return _em_dept;} set {_em_dept = value;} } public string em_jobcode{ get {return _em_jobcode;} set {_em_jobcode = value;} } public string em_type{ get {return _em_type;} set {_em_type = value;} } public string em_idnum{ get {return _em_idnum;} set {_em_idnum = value;} } public string em_cellnum{ get {return _em_cellnum;} set {_em_cellnum = value;} } public string em_email{ get {return _em_email;} set {_em_email = value;} } public string em_account{ get {return _em_account;} set {_em_account = value;} } public string em_passwd{ get {return _em_passwd;} set {_em_passwd = value;} } public string em_profile{ get {return _em_profile;} set {_em_profile = value;} } public string token{ get {return _token;} set {_token = value;} } public bool dr{ get {return _dr;} } public int operater{ get {return _operater;} set {_operater = value;} } public string create_time{ get {return _create_time;} set {_create_time = value;} } public string lastmodified{ get {return _lastmodified;} } public bool em_isOnline{ get {return _em_isOnline;} set {_em_isOnline = value;} } #endregion #region fieldNames public enum fields{em_name,em_sex,em_birthday,em_education,em_dept,em_jobcode,em_type,em_idnum,em_cellnum,em_email,em_account,em_passwd,em_profile,token,operater,em_isOnline} #endregion } #endregion }