/// ///Data Object ///BASIC CLASS FOR TABLE t_workplan ///By wm ///on 08/04/2023 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region Workplan_base /// /// This object represents the properties and methods of a Workplan_base. /// [Serializable] public class Workplan_base : BaseModel { internal string _wp_date = String.Empty,_Owp_date= String.Empty; internal int _wp_emp,_Owp_emp; internal int _Ooperater; internal string _create_time = String.Empty,_Ocreate_time= String.Empty; public Workplan_base () { } public Workplan_base (int id) { _id=id; getModel(); } public Workplan_base(DataRow dr) { getModel(dr); } public Workplan_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new Workplan_base_Imp(); } #region Public Properties public string wp_date{ get {return _wp_date;} set {_wp_date = value;} } public int wp_emp{ get {return _wp_emp;} set {_wp_emp = 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;} } #endregion #region fieldNames public enum fields{wp_date,wp_emp,operater} #endregion } #endregion }