| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erp_receiveValidDetail | 
					
						
							|  |  |  |  | ///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 Erp_receiveValidDetail_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a Erp_receiveValidDetail_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class Erp_receiveValidDetail_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _flowNo = String.Empty,_OflowNo= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _receive_order = String.Empty,_Oreceive_order= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _purch_d_id,_Opurch_d_id;    | 
					
						
							|  |  |  |  |                     internal string _preInOrder = String.Empty,_OpreInOrder= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _goods_id = String.Empty,_Ogoods_id= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _skuId,_OskuId;    | 
					
						
							|  |  |  |  |                     internal string _skuCode = String.Empty,_OskuCode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _batch = String.Empty,_Obatch= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _productDate = String.Empty,_OproductDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _validDate = String.Empty,_OvalidDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _valid_count,_Ovalid_count;    | 
					
						
							|  |  |  |  |                     internal decimal _seeds_count,_Oseeds_count;    | 
					
						
							|  |  |  |  |                     internal decimal _inCount,_OinCount;    | 
					
						
							|  |  |  |  |                     internal decimal _upShelfCount,_OupShelfCount;    | 
					
						
							|  |  |  |  |                     internal int _validResult,_OvalidResult;    | 
					
						
							|  |  |  |  |                     internal int _whType,_OwhType;    | 
					
						
							|  |  |  |  |                     internal string _reason = String.Empty,_Oreason= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _wms_state,_Owms_state;    | 
					
						
							|  |  |  |  |                     internal int _erp_state,_Oerp_state;    | 
					
						
							|  |  |  |  |                     internal decimal _price,_Oprice;    | 
					
						
							|  |  |  |  |                     internal int _validby,_Ovalidby;    | 
					
						
							|  |  |  |  |                     internal int _validby1,_Ovalidby1;    | 
					
						
							|  |  |  |  |                     internal string _validByName = String.Empty,_OvalidByName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _validByName2 = String.Empty,_OvalidByName2= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _validbyTime = String.Empty,_OvalidbyTime= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _validbyTime1 = String.Empty,_OvalidbyTime1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _partion,_Opartion;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal int _outDetailId,_OoutDetailId;    | 
					
						
							|  |  |  |  |                     internal string _poNo = String.Empty,_OpoNo= String.Empty;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal int _Ooperater;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  Erp_receiveValidDetail_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_receiveValidDetail_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_receiveValidDetail_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public Erp_receiveValidDetail_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new Erp_receiveValidDetail_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  flowNo{ | 
					
						
							|  |  |  |  | 			get {return _flowNo;} | 
					
						
							|  |  |  |  | 			 set {_flowNo = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  receive_order{ | 
					
						
							|  |  |  |  | 			get {return _receive_order;} | 
					
						
							|  |  |  |  | 			 set {_receive_order = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   purch_d_id{ | 
					
						
							|  |  |  |  | 			get {return _purch_d_id;} | 
					
						
							|  |  |  |  | 			 set {_purch_d_id = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  preInOrder{ | 
					
						
							|  |  |  |  | 			get {return _preInOrder;} | 
					
						
							|  |  |  |  | 			 set {_preInOrder = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  goods_id{ | 
					
						
							|  |  |  |  | 			get {return _goods_id;} | 
					
						
							|  |  |  |  | 			 set {_goods_id = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   skuId{ | 
					
						
							|  |  |  |  | 			get {return _skuId;} | 
					
						
							|  |  |  |  | 			 set {_skuId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  skuCode{ | 
					
						
							|  |  |  |  | 			get {return _skuCode;} | 
					
						
							|  |  |  |  | 			 set {_skuCode = 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  decimal   valid_count{ | 
					
						
							|  |  |  |  | 			get {return _valid_count;} | 
					
						
							|  |  |  |  | 			 set {_valid_count = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   seeds_count{ | 
					
						
							|  |  |  |  | 			get {return _seeds_count;} | 
					
						
							|  |  |  |  | 			 set {_seeds_count = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   inCount{ | 
					
						
							|  |  |  |  | 			get {return _inCount;} | 
					
						
							|  |  |  |  | 			 set {_inCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   upShelfCount{ | 
					
						
							|  |  |  |  | 			get {return _upShelfCount;} | 
					
						
							|  |  |  |  | 			 set {_upShelfCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   validResult{ | 
					
						
							|  |  |  |  | 			get {return _validResult;} | 
					
						
							|  |  |  |  | 			 set {_validResult = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   whType{ | 
					
						
							|  |  |  |  | 			get {return _whType;} | 
					
						
							|  |  |  |  | 			 set {_whType = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  reason{ | 
					
						
							|  |  |  |  | 			get {return _reason;} | 
					
						
							|  |  |  |  | 			 set {_reason = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   wms_state{ | 
					
						
							|  |  |  |  | 			get {return _wms_state;} | 
					
						
							|  |  |  |  | 			 set {_wms_state = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   erp_state{ | 
					
						
							|  |  |  |  | 			get {return _erp_state;} | 
					
						
							|  |  |  |  | 			 set {_erp_state = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   price{ | 
					
						
							|  |  |  |  | 			get {return _price;} | 
					
						
							|  |  |  |  | 			 set {_price = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   validby{ | 
					
						
							|  |  |  |  | 			get {return _validby;} | 
					
						
							|  |  |  |  | 			 set {_validby = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   validby1{ | 
					
						
							|  |  |  |  | 			get {return _validby1;} | 
					
						
							|  |  |  |  | 			 set {_validby1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  validByName{ | 
					
						
							|  |  |  |  | 			get {return _validByName;} | 
					
						
							|  |  |  |  | 			 set {_validByName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  validByName2{ | 
					
						
							|  |  |  |  | 			get {return _validByName2;} | 
					
						
							|  |  |  |  | 			 set {_validByName2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  validbyTime{ | 
					
						
							|  |  |  |  | 			get {return _validbyTime;} | 
					
						
							|  |  |  |  | 			 set {_validbyTime = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  validbyTime1{ | 
					
						
							|  |  |  |  | 			get {return _validbyTime1;} | 
					
						
							|  |  |  |  | 			 set {_validbyTime1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   partion{ | 
					
						
							|  |  |  |  | 			get {return _partion;} | 
					
						
							|  |  |  |  | 			 set {_partion = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  int   outDetailId{ | 
					
						
							|  |  |  |  | 			get {return _outDetailId;} | 
					
						
							|  |  |  |  | 			 set {_outDetailId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  poNo{ | 
					
						
							|  |  |  |  | 			get {return _poNo;} | 
					
						
							|  |  |  |  | 			 set {_poNo = value;}     | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   operater{ | 
					
						
							|  |  |  |  | 			get {return _operater;} | 
					
						
							|  |  |  |  | 			 set {_operater = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   dr{ | 
					
						
							|  |  |  |  | 			get {return _dr;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  createtime{ | 
					
						
							|  |  |  |  | 			get {return _createtime;} | 
					
						
							|  |  |  |  | 			 set {_createtime = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  lastmodified{ | 
					
						
							|  |  |  |  | 			get {return _lastmodified;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  | 		  | 
					
						
							|  |  |  |  | 		#endregion | 
					
						
							|  |  |  |  |                   | 
					
						
							|  |  |  |  |       #region fieldNames  | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |       public enum fields{flowNo,receive_order,purch_d_id,preInOrder,goods_id,skuId,skuCode,batch,productDate,validDate,valid_count,seeds_count,inCount,upShelfCount,validResult,whType,reason,wms_state,erp_state,price,validby,validby1,validByName,validByName2,validbyTime,validbyTime1,partion,outDetailId,poNo,operater} | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |