181 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			181 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | /// <summary> | |||
|  | ///Data Object  | |||
|  | ///BASIC CLASS FOR TABLE t_wmsPlateStock | |||
|  | ///By wm   | |||
|  | ///on 05/22/2020 | |||
|  | /// </summary> | |||
|  |   | |||
|  | using System; | |||
|  | using System.Data; | |||
|  | using DeiNiu.Data.BaseObject; | |||
|  |   | |||
|  | namespace  DeiNiu.wms.Data.Model | |||
|  | { | |||
|  | 
 | |||
|  | 	#region WmsPlateStock_base | |||
|  | 	/// <summary> | |||
|  | 	/// This object represents the properties and methods of a WmsPlateStock_base. | |||
|  |     /// </summary> | |||
|  |     [Serializable] | |||
|  | 	public class WmsPlateStock_base  : BaseModel {  | |||
|  | 
 | |||
|  |                         | |||
|  |                     internal string _plateId = String.Empty;    | |||
|  |                     internal int _skuId;    | |||
|  |                     internal string _skuCode = String.Empty;    | |||
|  |                     internal string _goodsId = String.Empty;    | |||
|  |                     internal string _batch = String.Empty;    | |||
|  |                     internal string _productDate = String.Empty;    | |||
|  |                     internal string _validDate = String.Empty;    | |||
|  |                     internal int _validationTerm;    | |||
|  |                     internal decimal _count;    | |||
|  |                     internal decimal _countLock;    | |||
|  |                     internal decimal _countOut;    | |||
|  |                     internal decimal _countIn;    | |||
|  |                     internal decimal _countOuting;    | |||
|  |                     internal decimal _preLockOut;    | |||
|  |                     internal int _state;    | |||
|  |                     internal string _maintainDate = String.Empty;    | |||
|  |                     internal string _description = String.Empty;    | |||
|  |                         | |||
|  |                         | |||
|  |                     internal string _createtime = String.Empty;    | |||
|  |                         | |||
|  | 		 | |||
|  | 		public  WmsPlateStock_base () { | |||
|  | 		} | |||
|  | 		public  WmsPlateStock_base (int id) { | |||
|  | 			_id=id; | |||
|  | 			getModel(); | |||
|  | 		} | |||
|  | 		public  WmsPlateStock_base(DataRow dr) | |||
|  |         { | |||
|  |             getModel(dr); | |||
|  |         } | |||
|  |           public WmsPlateStock_base(System.Data.SqlClient.SqlConnection _Conn) | |||
|  |             : base(_Conn)  | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |           protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new WmsPlateStock_base_Imp();   | |||
|  |         } | |||
|  | 		#region Public Properties  | |||
|  |         public string  plateId{ | |||
|  | 			get {return _plateId;} | |||
|  | 			 set {_plateId = 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  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  int   validationTerm{ | |||
|  | 			get {return _validationTerm;} | |||
|  | 			 set {_validationTerm = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   count{ | |||
|  | 			get {return _count;} | |||
|  | 			 set {_count = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   countLock{ | |||
|  | 			get {return _countLock;} | |||
|  | 			 set {_countLock = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   countOut{ | |||
|  | 			get {return _countOut;} | |||
|  | 			 set {_countOut = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   countIn{ | |||
|  | 			get {return _countIn;} | |||
|  | 			 set {_countIn = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   countOuting{ | |||
|  | 			get {return _countOuting;} | |||
|  | 			 set {_countOuting = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   preLockOut{ | |||
|  | 			get {return _preLockOut;} | |||
|  | 			 set {_preLockOut = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   state{ | |||
|  | 			get {return _state;} | |||
|  | 			 set {_state = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  maintainDate{ | |||
|  | 			get {return _maintainDate;} | |||
|  | 			 set {_maintainDate = 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{plateId,skuId,skuCode,goodsId,batch,productDate,validDate,validationTerm,count,countLock,countOut,countIn,countOuting,preLockOut,state,maintainDate,description,operater} | |||
|  |       #endregion | |||
|  |      | |||
|  | 	 | |||
|  | 	} | |||
|  | 	#endregion | |||
|  | } |