/// ///Data Object ///BASIC CLASS FOR TABLE t_wmsFlow ///By wm ///on 01/09/2024 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region WmsFlow_base /// /// This object represents the properties and methods of a WmsFlow_base. /// [Serializable] public class WmsFlow_base : BaseModel { internal string _task = String.Empty,_Otask= String.Empty; internal string _flowNo = String.Empty,_OflowNo= String.Empty; internal string _orderNo = String.Empty,_OorderNo= String.Empty; internal int _type,_Otype; internal string _typeName = String.Empty,_OtypeName= String.Empty; internal int _state,_Ostate; internal int _fromPartion,_OfromPartion; internal int _toPartion,_OtoPartion; internal string _fromLocationId = String.Empty,_OfromLocationId= String.Empty; internal string _toLocationId = String.Empty,_OtoLocationId= String.Empty; internal int _taskPartion,_OtaskPartion; internal int _owner,_Oowner; internal int _taskCnt,_OtaskCnt; internal int _finishedCnt,_OfinishedCnt; internal decimal _finishedPcs,_OfinishedPcs; internal int _progress,_Oprogress; internal int _Ooperater; internal string _createtime = String.Empty,_Ocreatetime= String.Empty; public WmsFlow_base () { } public WmsFlow_base (int id) { _id=id; getModel(); } public WmsFlow_base(DataRow dr) { getModel(dr); } public WmsFlow_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new WmsFlow_base_Imp(); } #region Public Properties public string task{ get {return _task;} set {_task = value;} } public string flowNo{ get {return _flowNo;} set {_flowNo = value;} } public string orderNo{ get {return _orderNo;} set {_orderNo = value;} } public int type{ get {return _type;} set {_type = value;} } public string typeName{ get {return _typeName;} set {_typeName = value;} } public int state{ get {return _state;} set {_state = value;} } public int fromPartion{ get {return _fromPartion;} set {_fromPartion = value;} } public int toPartion{ get {return _toPartion;} set {_toPartion = value;} } public string fromLocationId{ get {return _fromLocationId;} set {_fromLocationId = value;} } public string toLocationId{ get {return _toLocationId;} set {_toLocationId = value;} } public int taskPartion{ get {return _taskPartion;} set {_taskPartion = value;} } public int owner{ get {return _owner;} set {_owner = value;} } public int taskCnt{ get {return _taskCnt;} set {_taskCnt = value;} } public int finishedCnt{ get {return _finishedCnt;} set {_finishedCnt = value;} } public decimal finishedPcs{ get {return _finishedPcs;} set {_finishedPcs = value;} } public int progress{ get {return _progress;} set {_progress = value;} } public int operater{ get {return _operater;} set {_operater = value;} } public bool dr{ get {return _dr;} } public string createtime{ get {return _createtime;} set {_createtime = value;} } public string lastmodified{ get {return _lastmodified;} } #endregion #region fieldNames public enum fields{task,flowNo,orderNo,type,typeName,state,fromPartion,toPartion,fromLocationId,toLocationId,taskPartion,owner,taskCnt,finishedCnt,finishedPcs,progress,operater} #endregion } #endregion }