/// ///Data Object ///BASIC CLASS FOR TABLE t_wmsOrderDetail ///By wm ///on 10/01/2023 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region WmsOrderDetail_base /// /// This object represents the properties and methods of a WmsOrderDetail_base. /// [Serializable] public class WmsOrderDetail_base : BaseModel { internal string _orderNo = String.Empty,_OorderNo= String.Empty; internal int _skuId,_OskuId; internal string _skuCode = String.Empty,_OskuCode= String.Empty; internal string _goodsId = String.Empty,_OgoodsId= String.Empty; internal string _goodsName = String.Empty,_OgoodsName= String.Empty; internal string _unit = String.Empty,_Ounit= String.Empty; internal string _batch = String.Empty,_Obatch= String.Empty; internal string _productDate = String.Empty,_OproductDate= String.Empty; internal string _validDate = String.Empty,_OvalidDate= String.Empty; internal decimal _count,_Ocount; internal decimal _finishedCount,_OfinishedCount; internal decimal _price,_Oprice; internal int _state,_Ostate; internal int _whtype,_Owhtype; internal int _toWhType,_OtoWhType; internal string _locationId = String.Empty,_OlocationId= String.Empty; internal int _partion,_Opartion; internal string _description = String.Empty,_Odescription= String.Empty; internal int _Ooperater; internal string _createtime = String.Empty,_Ocreatetime= String.Empty; public WmsOrderDetail_base () { } public WmsOrderDetail_base (int id) { _id=id; getModel(); } public WmsOrderDetail_base(DataRow dr) { getModel(dr); } public WmsOrderDetail_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new WmsOrderDetail_base_Imp(); } #region Public Properties public string orderNo{ get {return _orderNo;} set {_orderNo = value;} } public int skuId{ get {return _skuId;} set {_skuId = value;} } public string skuCode{ get {return _skuCode;} set {_skuCode = value;} } public string goodsId{ get {return _goodsId;} set {_goodsId = value;} } public string goodsName{ get {return _goodsName;} set {_goodsName = value;} } public string unit{ get {return _unit;} set {_unit = value;} } public string batch{ get {return _batch;} set {_batch = value;} } public string productDate{ get {return _productDate;} set {_productDate = value;} } public string validDate{ get {return _validDate;} set {_validDate = value;} } public decimal count{ get {return _count;} set {_count = value;} } public decimal finishedCount{ get {return _finishedCount;} set {_finishedCount = value;} } public decimal price{ get {return _price;} set {_price = value;} } public int state{ get {return _state;} set {_state = value;} } public int whtype{ get {return _whtype;} set {_whtype = value;} } public int toWhType{ get {return _toWhType;} set {_toWhType = value;} } public string locationId{ get {return _locationId;} set {_locationId = value;} } public int partion{ get {return _partion;} set {_partion = value;} } public string description{ get {return _description;} set {_description = 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{orderNo,skuId,skuCode,goodsId,goodsName,unit,batch,productDate,validDate,count,finishedCount,price,state,whtype,toWhType,locationId,partion,description,operater} #endregion } #endregion }