/// ///Data Object ///BASIC CLASS FOR TABLE t_wmsLocation ///By wm ///on 08/04/2023 /// using System; using System.Data; using DeiNiu.Data.BaseObject; namespace DeiNiu.wms.Data.Model { #region WmsLocation_base /// /// This object represents the properties and methods of a WmsLocation_base. /// [Serializable] public class WmsLocation_base : BaseModel { internal string _locationId = String.Empty,_OlocationId= String.Empty; internal string _locationId128 = String.Empty,_OlocationId128= String.Empty; internal string _ownerCode = String.Empty,_OownerCode= String.Empty; internal int _warehouse,_Owarehouse; internal int _channel,_Ochannel; internal int _shelf,_Oshelf; internal int _layer,_Olayer; internal int _col,_Ocol; internal int _elabId,_OelabId; internal int _elabAddress,_OelabAddress; internal decimal _height,_Oheight; internal decimal _width,_Owidth; internal decimal _length,_Olength; internal decimal _weight,_Oweight; internal int _port,_Oport; internal int _part,_Opart; internal string _bigPart = String.Empty,_ObigPart= String.Empty; internal int _goodsType,_OgoodsType; internal int _whType,_OwhType; internal int _whGoodsType,_OwhGoodsType; internal int _whVolType,_OwhVolType; internal int _volType,_OvolType; internal int _ABC,_OABC; internal int _state,_Ostate; internal int _tranState,_OtranState; internal int _transLine,_OtransLine; internal decimal _x,_Ox; internal decimal _y,_Oy; internal decimal _z,_Oz; internal int _storeType,_OstoreType; internal int _Ooperater; internal string _typetmp = String.Empty,_Otypetmp= String.Empty; internal string _typedesc = String.Empty,_Otypedesc= String.Empty; internal string _createtime = String.Empty,_Ocreatetime= String.Empty; public WmsLocation_base () { } public WmsLocation_base (int id) { _id=id; getModel(); } public WmsLocation_base(DataRow dr) { getModel(dr); } public WmsLocation_base(System.Data.SqlClient.SqlConnection _Conn) : base(_Conn) { } protected override void getImp() { model_imp = new WmsLocation_base_Imp(); } #region Public Properties public string locationId{ get {return _locationId;} set {_locationId = value;} } public string locationId128{ get {return _locationId128;} set {_locationId128 = value;} } public string ownerCode{ get {return _ownerCode;} set {_ownerCode = value;} } public int warehouse{ get {return _warehouse;} set {_warehouse = value;} } public int channel{ get {return _channel;} set {_channel = value;} } public int shelf{ get {return _shelf;} set {_shelf = value;} } public int layer{ get {return _layer;} set {_layer = value;} } public int col{ get {return _col;} set {_col = value;} } public int elabId{ get {return _elabId;} set {_elabId = value;} } public int elabAddress{ get {return _elabAddress;} set {_elabAddress = value;} } public decimal height{ get {return _height;} set {_height = value;} } public decimal width{ get {return _width;} set {_width = value;} } public decimal length{ get {return _length;} set {_length = value;} } public decimal weight{ get {return _weight;} set {_weight = value;} } public int port{ get {return _port;} set {_port = value;} } public int part{ get {return _part;} set {_part = value;} } public string bigPart{ get {return _bigPart;} set {_bigPart = value;} } public int goodsType{ get {return _goodsType;} set {_goodsType = value;} } public int whType{ get {return _whType;} set {_whType = value;} } public int whGoodsType{ get {return _whGoodsType;} set {_whGoodsType = value;} } public int whVolType{ get {return _whVolType;} set {_whVolType = value;} } public int volType{ get {return _volType;} set {_volType = value;} } public int ABC{ get {return _ABC;} set {_ABC = value;} } public int state{ get {return _state;} set {_state = value;} } public int tranState{ get {return _tranState;} set {_tranState = value;} } public int transLine{ get {return _transLine;} set {_transLine = value;} } public decimal x{ get {return _x;} set {_x = value;} } public decimal y{ get {return _y;} set {_y = value;} } public decimal z{ get {return _z;} set {_z = value;} } public int storeType{ get {return _storeType;} set {_storeType = value;} } public int operater{ get {return _operater;} set {_operater = value;} } public string typetmp{ get {return _typetmp;} set {_typetmp = value;} } public string typedesc{ get {return _typedesc;} set {_typedesc = 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{locationId,locationId128,ownerCode,warehouse,channel,shelf,layer,col,elabId,elabAddress,height,width,length,weight,port,part,bigPart,goodsType,whType,whGoodsType,whVolType,volType,ABC,state,tranState,transLine,x,y,z,storeType,operater,typetmp,typedesc} #endregion } #endregion }