| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erpGoods | 
					
						
							|  |  |  |  | ///By wm   | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  | ///on 01/21/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 ErpGoods_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a ErpGoods_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class ErpGoods_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _entId = String.Empty,_OentId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _goodsId = String.Empty,_OgoodsId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _goodsName = String.Empty,_OgoodsName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _manufacturer = String.Empty,_Omanufacturer= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _spec = String.Empty,_Ospec= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _unit = String.Empty,_Ounit= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _type = String.Empty,_Otype= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _regeditCode = String.Empty,_OregeditCode= String.Empty;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal decimal _bigCount,_ObigCount;    | 
					
						
							|  |  |  |  |                     internal decimal _middleCount,_OmiddleCount;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal string _address = String.Empty,_Oaddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _station = String.Empty,_Ostation= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _weight,_Oweight;    | 
					
						
							|  |  |  |  |                     internal string _drug_code = String.Empty,_Odrug_code= String.Empty;    | 
					
						
							|  |  |  |  |                     internal bool _isDouChk,_OisDouChk;    | 
					
						
							|  |  |  |  |                     internal string _barCode = String.Empty,_ObarCode= String.Empty;    | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |                     internal int _packingId,_OpackingId;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal string _pinYin = String.Empty,_OpinYin= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _chang,_Ochang;    | 
					
						
							|  |  |  |  |                     internal decimal _kuan,_Okuan;    | 
					
						
							|  |  |  |  |                     internal decimal _gao,_Ogao;    | 
					
						
							|  |  |  |  |                     internal int _curCycle,_OcurCycle;    | 
					
						
							|  |  |  |  |                     internal bool _isimport,_Oisimport;    | 
					
						
							|  |  |  |  |                     internal string _shortName = String.Empty,_OshortName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _expiryDays,_OexpiryDays;    | 
					
						
							|  |  |  |  |                     internal decimal _price,_Oprice;    | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |                     internal decimal _minOperateCount,_OminOperateCount;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal string _packingUnit = String.Empty,_OpackingUnit= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _minOperateUnit = String.Empty,_OminOperateUnit= String.Empty;    | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |                     internal bool _isZhitong,_OisZhitong;    | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                     internal bool _isQc,_OisQc;    | 
					
						
							|  |  |  |  |                     internal int _isManufacture,_OisManufacture;    | 
					
						
							|  |  |  |  |                     internal int _messureModel,_OmessureModel;    | 
					
						
							|  |  |  |  |                     internal string _approvedBy = String.Empty,_OapprovedBy= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _region = String.Empty,_Oregion= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _status,_Ostatus;    | 
					
						
							|  |  |  |  |                     internal string _ext1 = String.Empty,_Oext1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext2 = String.Empty,_Oext2= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext3 = String.Empty,_Oext3= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext4 = String.Empty,_Oext4= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _Ooperater;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  ErpGoods_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  ErpGoods_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  ErpGoods_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public ErpGoods_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new ErpGoods_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  entId{ | 
					
						
							|  |  |  |  | 			get {return _entId;} | 
					
						
							|  |  |  |  | 			 set {_entId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  goodsId{ | 
					
						
							|  |  |  |  | 			get {return _goodsId;} | 
					
						
							|  |  |  |  | 			 set {_goodsId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  goodsName{ | 
					
						
							|  |  |  |  | 			get {return _goodsName;} | 
					
						
							|  |  |  |  | 			 set {_goodsName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  manufacturer{ | 
					
						
							|  |  |  |  | 			get {return _manufacturer;} | 
					
						
							|  |  |  |  | 			 set {_manufacturer = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  spec{ | 
					
						
							|  |  |  |  | 			get {return _spec;} | 
					
						
							|  |  |  |  | 			 set {_spec = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  unit{ | 
					
						
							|  |  |  |  | 			get {return _unit;} | 
					
						
							|  |  |  |  | 			 set {_unit = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  type{ | 
					
						
							|  |  |  |  | 			get {return _type;} | 
					
						
							|  |  |  |  | 			 set {_type = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  regeditCode{ | 
					
						
							|  |  |  |  | 			get {return _regeditCode;} | 
					
						
							|  |  |  |  | 			 set {_regeditCode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  decimal   bigCount{ | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 			get {return _bigCount;} | 
					
						
							|  |  |  |  | 			 set {_bigCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  decimal   middleCount{ | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 			get {return _middleCount;} | 
					
						
							|  |  |  |  | 			 set {_middleCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  address{ | 
					
						
							|  |  |  |  | 			get {return _address;} | 
					
						
							|  |  |  |  | 			 set {_address = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  station{ | 
					
						
							|  |  |  |  | 			get {return _station;} | 
					
						
							|  |  |  |  | 			 set {_station = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   weight{ | 
					
						
							|  |  |  |  | 			get {return _weight;} | 
					
						
							|  |  |  |  | 			 set {_weight = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  drug_code{ | 
					
						
							|  |  |  |  | 			get {return _drug_code;} | 
					
						
							|  |  |  |  | 			 set {_drug_code = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   isDouChk{ | 
					
						
							|  |  |  |  | 			get {return _isDouChk;} | 
					
						
							|  |  |  |  | 			 set {_isDouChk = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  barCode{ | 
					
						
							|  |  |  |  | 			get {return _barCode;} | 
					
						
							|  |  |  |  | 			 set {_barCode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  |         public  int   packingId{ | 
					
						
							|  |  |  |  | 			get {return _packingId;} | 
					
						
							|  |  |  |  | 			 set {_packingId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         public string  pinYin{ | 
					
						
							|  |  |  |  | 			get {return _pinYin;} | 
					
						
							|  |  |  |  | 			 set {_pinYin = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   chang{ | 
					
						
							|  |  |  |  | 			get {return _chang;} | 
					
						
							|  |  |  |  | 			 set {_chang = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   kuan{ | 
					
						
							|  |  |  |  | 			get {return _kuan;} | 
					
						
							|  |  |  |  | 			 set {_kuan = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   gao{ | 
					
						
							|  |  |  |  | 			get {return _gao;} | 
					
						
							|  |  |  |  | 			 set {_gao = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   curCycle{ | 
					
						
							|  |  |  |  | 			get {return _curCycle;} | 
					
						
							|  |  |  |  | 			 set {_curCycle = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   isimport{ | 
					
						
							|  |  |  |  | 			get {return _isimport;} | 
					
						
							|  |  |  |  | 			 set {_isimport = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  shortName{ | 
					
						
							|  |  |  |  | 			get {return _shortName;} | 
					
						
							|  |  |  |  | 			 set {_shortName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   expiryDays{ | 
					
						
							|  |  |  |  | 			get {return _expiryDays;} | 
					
						
							|  |  |  |  | 			 set {_expiryDays = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   price{ | 
					
						
							|  |  |  |  | 			get {return _price;} | 
					
						
							|  |  |  |  | 			 set {_price = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         public  decimal   minOperateCount{ | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 			get {return _minOperateCount;} | 
					
						
							|  |  |  |  | 			 set {_minOperateCount = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  packingUnit{ | 
					
						
							|  |  |  |  | 			get {return _packingUnit;} | 
					
						
							|  |  |  |  | 			 set {_packingUnit = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  minOperateUnit{ | 
					
						
							|  |  |  |  | 			get {return _minOperateUnit;} | 
					
						
							|  |  |  |  | 			 set {_minOperateUnit = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |         public  bool   isZhitong{ | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 			get {return _isZhitong;} | 
					
						
							|  |  |  |  | 			 set {_isZhitong = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   isQc{ | 
					
						
							|  |  |  |  | 			get {return _isQc;} | 
					
						
							|  |  |  |  | 			 set {_isQc = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   isManufacture{ | 
					
						
							|  |  |  |  | 			get {return _isManufacture;} | 
					
						
							|  |  |  |  | 			 set {_isManufacture = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   messureModel{ | 
					
						
							|  |  |  |  | 			get {return _messureModel;} | 
					
						
							|  |  |  |  | 			 set {_messureModel = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  approvedBy{ | 
					
						
							|  |  |  |  | 			get {return _approvedBy;} | 
					
						
							|  |  |  |  | 			 set {_approvedBy = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  region{ | 
					
						
							|  |  |  |  | 			get {return _region;} | 
					
						
							|  |  |  |  | 			 set {_region = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   status{ | 
					
						
							|  |  |  |  | 			get {return _status;} | 
					
						
							|  |  |  |  | 			 set {_status = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext1{ | 
					
						
							|  |  |  |  | 			get {return _ext1;} | 
					
						
							|  |  |  |  | 			 set {_ext1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext2{ | 
					
						
							|  |  |  |  | 			get {return _ext2;} | 
					
						
							|  |  |  |  | 			 set {_ext2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext3{ | 
					
						
							|  |  |  |  | 			get {return _ext3;} | 
					
						
							|  |  |  |  | 			 set {_ext3 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext4{ | 
					
						
							|  |  |  |  | 			get {return _ext4;} | 
					
						
							|  |  |  |  | 			 set {_ext4 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         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{entId,goodsId,goodsName,manufacturer,spec,unit,type,regeditCode,bigCount,middleCount,address,station,weight,drug_code,isDouChk,barCode,packingId,pinYin,chang,kuan,gao,curCycle,isimport,shortName,expiryDays,price,minOperateCount,packingUnit,minOperateUnit,isZhitong,isQc,isManufacture,messureModel,approvedBy,region,status,ext1,ext2,ext3,ext4,operater} | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |