| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_wmsGoods | 
					
						
							|  |  |  |  | ///By wm   | 
					
						
							| 
									
										
										
										
											2023-12-03 22:13:49 +08:00
										 |  |  |  | ///on 11/27/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 WmsGoods_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a WmsGoods_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class WmsGoods_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _goodsId = String.Empty,_OgoodsId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _goodsType,_OgoodsType;    | 
					
						
							|  |  |  |  |                     internal string _ownerCode = String.Empty,_OownerCode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _plotId,_OplotId;    | 
					
						
							|  |  |  |  |                     internal bool _pIsDateValid,_OpIsDateValid;    | 
					
						
							|  |  |  |  |                     internal int _part,_Opart;    | 
					
						
							|  |  |  |  |                     internal decimal _full_max,_Ofull_max;    | 
					
						
							|  |  |  |  |                     internal decimal _bulkMax,_ObulkMax;    | 
					
						
							|  |  |  |  |                     internal decimal _bulkMax1,_ObulkMax1;    | 
					
						
							|  |  |  |  |                     internal decimal _batchMax1,_ObatchMax1;    | 
					
						
							|  |  |  |  |                     internal decimal _batchMax2,_ObatchMax2;    | 
					
						
							|  |  |  |  |                     internal decimal _batchMax3,_ObatchMax3;    | 
					
						
							|  |  |  |  |                     internal decimal _batchMax4,_ObatchMax4;    | 
					
						
							|  |  |  |  |                     internal decimal _length,_Olength;    | 
					
						
							|  |  |  |  |                     internal decimal _width,_Owidth;    | 
					
						
							|  |  |  |  |                     internal decimal _height,_Oheight;    | 
					
						
							|  |  |  |  |                     internal decimal _weight,_Oweight;    | 
					
						
							|  |  |  |  |                     internal int _validTermDays,_OvalidTermDays;    | 
					
						
							|  |  |  |  |                     internal decimal _bigCount,_ObigCount;    | 
					
						
							|  |  |  |  |                     internal int _repType,_OrepType;    | 
					
						
							|  |  |  |  |                     internal int _ABC,_OABC;    | 
					
						
							|  |  |  |  |                     internal decimal _lowStore,_OlowStore;    | 
					
						
							|  |  |  |  |                     internal decimal _highStore,_OhighStore;    | 
					
						
							|  |  |  |  |                     internal bool _tempRequired,_OtempRequired;    | 
					
						
							|  |  |  |  |                     internal decimal _temperature,_Otemperature;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal bool _canSeedOut,_OcanSeedOut;    | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |                     internal bool _canZhitong,_OcanZhitong;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal int _Ooperater;    | 
					
						
							|  |  |  |  |                     internal string _minOperateUnit = String.Empty,_OminOperateUnit= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _minOperateCount,_OminOperateCount;    | 
					
						
							| 
									
										
										
										
											2023-12-03 22:13:49 +08:00
										 |  |  |  |                     internal string _barcode = String.Empty,_Obarcode= String.Empty;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal int _expiryDays,_OexpiryDays;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  WmsGoods_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsGoods_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  WmsGoods_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public WmsGoods_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new WmsGoods_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  goodsId{ | 
					
						
							|  |  |  |  | 			get {return _goodsId;} | 
					
						
							|  |  |  |  | 			 set {_goodsId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   goodsType{ | 
					
						
							|  |  |  |  | 			get {return _goodsType;} | 
					
						
							|  |  |  |  | 			 set {_goodsType = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ownerCode{ | 
					
						
							|  |  |  |  | 			get {return _ownerCode;} | 
					
						
							|  |  |  |  | 			 set {_ownerCode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   plotId{ | 
					
						
							|  |  |  |  | 			get {return _plotId;} | 
					
						
							|  |  |  |  | 			 set {_plotId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   pIsDateValid{ | 
					
						
							|  |  |  |  | 			get {return _pIsDateValid;} | 
					
						
							|  |  |  |  | 			 set {_pIsDateValid = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   part{ | 
					
						
							|  |  |  |  | 			get {return _part;} | 
					
						
							|  |  |  |  | 			 set {_part = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   full_max{ | 
					
						
							|  |  |  |  | 			get {return _full_max;} | 
					
						
							|  |  |  |  | 			 set {_full_max = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   bulkMax{ | 
					
						
							|  |  |  |  | 			get {return _bulkMax;} | 
					
						
							|  |  |  |  | 			 set {_bulkMax = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   bulkMax1{ | 
					
						
							|  |  |  |  | 			get {return _bulkMax1;} | 
					
						
							|  |  |  |  | 			 set {_bulkMax1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   batchMax1{ | 
					
						
							|  |  |  |  | 			get {return _batchMax1;} | 
					
						
							|  |  |  |  | 			 set {_batchMax1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   batchMax2{ | 
					
						
							|  |  |  |  | 			get {return _batchMax2;} | 
					
						
							|  |  |  |  | 			 set {_batchMax2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   batchMax3{ | 
					
						
							|  |  |  |  | 			get {return _batchMax3;} | 
					
						
							|  |  |  |  | 			 set {_batchMax3 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   batchMax4{ | 
					
						
							|  |  |  |  | 			get {return _batchMax4;} | 
					
						
							|  |  |  |  | 			 set {_batchMax4 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   length{ | 
					
						
							|  |  |  |  | 			get {return _length;} | 
					
						
							|  |  |  |  | 			 set {_length = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   width{ | 
					
						
							|  |  |  |  | 			get {return _width;} | 
					
						
							|  |  |  |  | 			 set {_width = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   height{ | 
					
						
							|  |  |  |  | 			get {return _height;} | 
					
						
							|  |  |  |  | 			 set {_height = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   weight{ | 
					
						
							|  |  |  |  | 			get {return _weight;} | 
					
						
							|  |  |  |  | 			 set {_weight = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   validTermDays{ | 
					
						
							|  |  |  |  | 			get {return _validTermDays;} | 
					
						
							|  |  |  |  | 			 set {_validTermDays = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   bigCount{ | 
					
						
							|  |  |  |  | 			get {return _bigCount;} | 
					
						
							|  |  |  |  | 			 set {_bigCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   repType{ | 
					
						
							|  |  |  |  | 			get {return _repType;} | 
					
						
							|  |  |  |  | 			 set {_repType = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   ABC{ | 
					
						
							|  |  |  |  | 			get {return _ABC;} | 
					
						
							|  |  |  |  | 			 set {_ABC = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   lowStore{ | 
					
						
							|  |  |  |  | 			get {return _lowStore;} | 
					
						
							|  |  |  |  | 			 set {_lowStore = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   highStore{ | 
					
						
							|  |  |  |  | 			get {return _highStore;} | 
					
						
							|  |  |  |  | 			 set {_highStore = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   tempRequired{ | 
					
						
							|  |  |  |  | 			get {return _tempRequired;} | 
					
						
							|  |  |  |  | 			 set {_tempRequired = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   temperature{ | 
					
						
							|  |  |  |  | 			get {return _temperature;} | 
					
						
							|  |  |  |  | 			 set {_temperature = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  bool   canSeedOut{ | 
					
						
							|  |  |  |  | 			get {return _canSeedOut;} | 
					
						
							|  |  |  |  | 			 set {_canSeedOut = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         public  bool   canZhitong{ | 
					
						
							|  |  |  |  | 			get {return _canZhitong;} | 
					
						
							|  |  |  |  | 			 set {_canZhitong = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         public  int   operater{ | 
					
						
							|  |  |  |  | 			get {return _operater;} | 
					
						
							|  |  |  |  | 			 set {_operater = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  minOperateUnit{ | 
					
						
							|  |  |  |  | 			get {return _minOperateUnit;} | 
					
						
							|  |  |  |  | 			 set {_minOperateUnit = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   minOperateCount{ | 
					
						
							|  |  |  |  | 			get {return _minOperateCount;} | 
					
						
							|  |  |  |  | 			 set {_minOperateCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-12-03 22:13:49 +08:00
										 |  |  |  |         public string  barcode{ | 
					
						
							|  |  |  |  | 			get {return _barcode;} | 
					
						
							|  |  |  |  | 			 set {_barcode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  int   expiryDays{ | 
					
						
							|  |  |  |  | 			get {return _expiryDays;} | 
					
						
							|  |  |  |  | 			 set {_expiryDays = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         public string  lastmodified{ | 
					
						
							|  |  |  |  | 			get {return _lastmodified;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  createtime{ | 
					
						
							|  |  |  |  | 			get {return _createtime;} | 
					
						
							|  |  |  |  | 			 set {_createtime = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   dr{ | 
					
						
							|  |  |  |  | 			get {return _dr;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  | 		  | 
					
						
							|  |  |  |  | 		#endregion | 
					
						
							|  |  |  |  |                   | 
					
						
							|  |  |  |  |       #region fieldNames  | 
					
						
							| 
									
										
										
										
											2023-12-03 22:13:49 +08:00
										 |  |  |  |       public enum fields{goodsId,goodsType,ownerCode,plotId,pIsDateValid,part,full_max,bulkMax,bulkMax1,batchMax1,batchMax2,batchMax3,batchMax4,length,width,height,weight,validTermDays,bigCount,repType,ABC,lowStore,highStore,tempRequired,temperature,canSeedOut,canZhitong,operater,minOperateUnit,minOperateCount,barcode,expiryDays} | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |