| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_wmsReceiveDetail | 
					
						
							|  |  |  |  | ///By wm   | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  | ///on 08/04/2023 | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// </summary> | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | using System; | 
					
						
							|  |  |  |  | using System.Data; | 
					
						
							|  |  |  |  | using DeiNiu.Data.BaseObject; | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | namespace  DeiNiu.wms.Data.Model | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 	#region WmsReceiveDetail_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a WmsReceiveDetail_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class WmsReceiveDetail_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal string _orderNo = String.Empty,_OorderNo= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _goodsId = String.Empty,_OgoodsId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _batch = String.Empty,_Obatch= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _productDate = String.Empty,_OproductDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _valideDate = String.Empty,_OvalideDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _purCount,_OpurCount;    | 
					
						
							|  |  |  |  |                     internal decimal _arriveCount,_OarriveCount;    | 
					
						
							|  |  |  |  |                     internal decimal _receiveCount,_OreceiveCount;    | 
					
						
							|  |  |  |  |                     internal decimal _checkCount,_OcheckCount;    | 
					
						
							|  |  |  |  |                     internal string _rejectReason = String.Empty,_OrejectReason= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _receiveDate = String.Empty,_OreceiveDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _receivedby = String.Empty,_Oreceivedby= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _state,_Ostate;    | 
					
						
							|  |  |  |  |                     internal int _batchState,_ObatchState;    | 
					
						
							|  |  |  |  |                     internal int _picState,_OpicState;    | 
					
						
							|  |  |  |  |                     internal string _receiveResult = String.Empty,_OreceiveResult= 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  WmsReceiveDetail_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsReceiveDetail_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsReceiveDetail_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public WmsReceiveDetail_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new WmsReceiveDetail_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  orderNo{ | 
					
						
							|  |  |  |  | 			get {return _orderNo;} | 
					
						
							|  |  |  |  | 			 set {_orderNo = 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  valideDate{ | 
					
						
							|  |  |  |  | 			get {return _valideDate;} | 
					
						
							|  |  |  |  | 			 set {_valideDate = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   purCount{ | 
					
						
							|  |  |  |  | 			get {return _purCount;} | 
					
						
							|  |  |  |  | 			 set {_purCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   arriveCount{ | 
					
						
							|  |  |  |  | 			get {return _arriveCount;} | 
					
						
							|  |  |  |  | 			 set {_arriveCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   receiveCount{ | 
					
						
							|  |  |  |  | 			get {return _receiveCount;} | 
					
						
							|  |  |  |  | 			 set {_receiveCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   checkCount{ | 
					
						
							|  |  |  |  | 			get {return _checkCount;} | 
					
						
							|  |  |  |  | 			 set {_checkCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  rejectReason{ | 
					
						
							|  |  |  |  | 			get {return _rejectReason;} | 
					
						
							|  |  |  |  | 			 set {_rejectReason = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  receiveDate{ | 
					
						
							|  |  |  |  | 			get {return _receiveDate;} | 
					
						
							|  |  |  |  | 			 set {_receiveDate = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  receivedby{ | 
					
						
							|  |  |  |  | 			get {return _receivedby;} | 
					
						
							|  |  |  |  | 			 set {_receivedby = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   state{ | 
					
						
							|  |  |  |  | 			get {return _state;} | 
					
						
							|  |  |  |  | 			 set {_state = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   batchState{ | 
					
						
							|  |  |  |  | 			get {return _batchState;} | 
					
						
							|  |  |  |  | 			 set {_batchState = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   picState{ | 
					
						
							|  |  |  |  | 			get {return _picState;} | 
					
						
							|  |  |  |  | 			 set {_picState = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  receiveResult{ | 
					
						
							|  |  |  |  | 			get {return _receiveResult;} | 
					
						
							|  |  |  |  | 			 set {_receiveResult = 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,goodsId,batch,productDate,valideDate,purCount,arriveCount,receiveCount,checkCount,rejectReason,receiveDate,receivedby,state,batchState,picState,receiveResult,description,operater} | 
					
						
							|  |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |