| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_wmsStock | 
					
						
							|  |  |  |  | ///By wm   | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  | ///on 01/07/2024 | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// </summary> | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | using System; | 
					
						
							|  |  |  |  | using System.Data; | 
					
						
							|  |  |  |  | using DeiNiu.Data.BaseObject; | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | namespace  DeiNiu.wms.Data.Model | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 	#region WmsStock_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a WmsStock_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class WmsStock_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal int _skuId,_OskuId;    | 
					
						
							|  |  |  |  |                     internal string _skuCode = String.Empty,_OskuCode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _goodsId = String.Empty,_OgoodsId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _batch = String.Empty,_Obatch= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _locationId = String.Empty,_OlocationId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _plateId = String.Empty,_OplateId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _productDate = String.Empty,_OproductDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _validDate = String.Empty,_OvalidDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _validationTerm,_OvalidationTerm;    | 
					
						
							|  |  |  |  |                     internal decimal _count,_Ocount;    | 
					
						
							|  |  |  |  |                     internal decimal _countLock,_OcountLock;    | 
					
						
							|  |  |  |  |                     internal decimal _countOut,_OcountOut;    | 
					
						
							|  |  |  |  |                     internal decimal _countIn,_OcountIn;    | 
					
						
							|  |  |  |  |                     internal decimal _countOuting,_OcountOuting;    | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |                     internal decimal _adjustingCnt,_OadjustingCnt;    | 
					
						
							|  |  |  |  |                     internal decimal _plateCount,_OplateCount;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal decimal _preLockOut,_OpreLockOut;    | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |                     internal decimal _virtialCount,_OvirtialCount;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal int _state,_Ostate;    | 
					
						
							|  |  |  |  |                     internal string _maintainDate = String.Empty,_OmaintainDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _description = String.Empty,_Odescription= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _Ooperater;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                         | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                         | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  WmsStock_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsStock_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsStock_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public WmsStock_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new WmsStock_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         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  locationId{ | 
					
						
							|  |  |  |  | 			get {return _locationId;} | 
					
						
							|  |  |  |  | 			 set {_locationId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  plateId{ | 
					
						
							|  |  |  |  | 			get {return _plateId;} | 
					
						
							|  |  |  |  | 			 set {_plateId = 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;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         public  decimal   adjustingCnt{ | 
					
						
							|  |  |  |  | 			get {return _adjustingCnt;} | 
					
						
							|  |  |  |  | 			 set {_adjustingCnt = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   plateCount{ | 
					
						
							|  |  |  |  | 			get {return _plateCount;} | 
					
						
							|  |  |  |  | 			 set {_plateCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         public  decimal   preLockOut{ | 
					
						
							|  |  |  |  | 			get {return _preLockOut;} | 
					
						
							|  |  |  |  | 			 set {_preLockOut = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |         public  decimal   virtialCount{ | 
					
						
							|  |  |  |  | 			get {return _virtialCount;} | 
					
						
							|  |  |  |  | 			 set {_virtialCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         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  | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |       public enum fields{skuId,skuCode,goodsId,batch,locationId,plateId,productDate,validDate,validationTerm,count,countLock,countOut,countIn,countOuting,adjustingCnt,plateCount,preLockOut,virtialCount,state,maintainDate,description,operater} | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |