/// ///Data Object ///BASIC CLASS FOR TABLE t_wmsStockPre ///By wm ///on 08/04/2023 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region WmsStockPre_base /// /// This object represents the properties and methods of a WmsStockPre_base. /// [Serializable] public class WmsStockPre_base : BaseModel { internal string _orderno = String.Empty,_Oorderno= String.Empty; internal int _orderDetailId,_OorderDetailId; internal int _skuId,_OskuId; internal string _skuCode = String.Empty,_OskuCode= String.Empty; internal string _goodsId = String.Empty,_OgoodsId= String.Empty; internal string _productDate = String.Empty,_OproductDate= String.Empty; internal string _validDate = String.Empty,_OvalidDate= String.Empty; internal string _batch = String.Empty,_Obatch= String.Empty; internal int _partion,_Opartion; internal decimal _count,_Ocount; internal decimal _preLockOut,_OpreLockOut; internal int _state,_Ostate; internal string _description = String.Empty,_Odescription= String.Empty; internal int _Ooperater; internal string _createtime = String.Empty,_Ocreatetime= String.Empty; public WmsStockPre_base () { } public WmsStockPre_base (int id) { _id=id; getModel(); } public WmsStockPre_base(DataRow dr) { getModel(dr); } public WmsStockPre_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new WmsStockPre_base_Imp(); } #region Public Properties public string orderno{ get {return _orderno;} set {_orderno = value;} } public int orderDetailId{ get {return _orderDetailId;} set {_orderDetailId = 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 productDate{ get {return _productDate;} set {_productDate = value;} } public string validDate{ get {return _validDate;} set {_validDate = value;} } public string batch{ get {return _batch;} set {_batch = value;} } public int partion{ get {return _partion;} set {_partion = value;} } public decimal count{ get {return _count;} set {_count = value;} } public decimal preLockOut{ get {return _preLockOut;} set {_preLockOut = value;} } public int state{ get {return _state;} set {_state = value;} } public string description{ get {return _description;} set {_description = value;} } public int operater{ get {return _operater;} set {_operater = value;} } public string lastmodified{ get {return _lastmodified;} } public string createtime{ get {return _createtime;} set {_createtime = value;} } public bool dr{ get {return _dr;} } #endregion #region fieldNames public enum fields{orderno,orderDetailId,skuId,skuCode,goodsId,productDate,validDate,batch,partion,count,preLockOut,state,description,operater} #endregion } #endregion }