199 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			199 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | /// <summary> | |||
|  | ///Data Object  | |||
|  | ///BASIC CLASS FOR TABLE t_wmsImportSeeds_tmp | |||
|  | ///By wm   | |||
|  | ///on 08/20/2019 | |||
|  | /// </summary> | |||
|  |   | |||
|  | using System; | |||
|  | using System.Data; | |||
|  | using DeiNiu.Data.BaseObject; | |||
|  |   | |||
|  | namespace  DeiNiu.wms.Data.Model | |||
|  | { | |||
|  | 
 | |||
|  | 	#region WmsImportSeeds_tmp_base | |||
|  | 	/// <summary> | |||
|  | 	/// This object represents the properties and methods of a WmsImportSeeds_tmp_base. | |||
|  |     /// </summary> | |||
|  |     [Serializable] | |||
|  | 	public class WmsImportSeeds_tmp_base  : BaseModel {  | |||
|  | 
 | |||
|  |                         | |||
|  |                     internal string _seedsNo = String.Empty;    | |||
|  |                     internal string _barcode = String.Empty;    | |||
|  |                     internal string _custName = String.Empty;    | |||
|  |                     internal string _itemName = String.Empty;    | |||
|  |                     internal decimal _count;    | |||
|  |                     internal decimal _countOut;    | |||
|  |                     internal string _unit = String.Empty;    | |||
|  |                     internal string _category1 = String.Empty;    | |||
|  |                     internal string _category2 = String.Empty;    | |||
|  |                     internal string _category3 = String.Empty;    | |||
|  |                     internal string _spec = String.Empty;    | |||
|  |                     internal int _custOrder;    | |||
|  |                     internal int _elabId;    | |||
|  |                     internal int _elabAddress;    | |||
|  |                     internal int _deskId;    | |||
|  |                     internal int _port;    | |||
|  |                     internal int _color;    | |||
|  |                     internal int _state;    | |||
|  |                     internal string _picktime = String.Empty;    | |||
|  |                     internal string _description = String.Empty;    | |||
|  |                         | |||
|  |                         | |||
|  |                     internal string _createtime = String.Empty;    | |||
|  |                         | |||
|  | 		 | |||
|  | 		public  WmsImportSeeds_tmp_base () { | |||
|  | 		} | |||
|  | 		public  WmsImportSeeds_tmp_base (int id) { | |||
|  | 			_id=id; | |||
|  | 			getModel(); | |||
|  | 		} | |||
|  | 		public  WmsImportSeeds_tmp_base(DataRow dr) | |||
|  |         { | |||
|  |             getModel(dr); | |||
|  |         } | |||
|  |           public WmsImportSeeds_tmp_base(System.Data.SqlClient.SqlConnection _Conn) | |||
|  |             : base(_Conn)  | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |           protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new WmsImportSeeds_tmp_base_Imp();   | |||
|  |         } | |||
|  | 		#region Public Properties  | |||
|  |         public string  seedsNo{ | |||
|  | 			get {return _seedsNo;} | |||
|  | 			 set {_seedsNo = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  barcode{ | |||
|  | 			get {return _barcode;} | |||
|  | 			 set {_barcode = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  custName{ | |||
|  | 			get {return _custName;} | |||
|  | 			 set {_custName = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  itemName{ | |||
|  | 			get {return _itemName;} | |||
|  | 			 set {_itemName = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   count{ | |||
|  | 			get {return _count;} | |||
|  | 			 set {_count = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   countOut{ | |||
|  | 			get {return _countOut;} | |||
|  | 			 set {_countOut = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  unit{ | |||
|  | 			get {return _unit;} | |||
|  | 			 set {_unit = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  category1{ | |||
|  | 			get {return _category1;} | |||
|  | 			 set {_category1 = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  category2{ | |||
|  | 			get {return _category2;} | |||
|  | 			 set {_category2 = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  category3{ | |||
|  | 			get {return _category3;} | |||
|  | 			 set {_category3 = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  spec{ | |||
|  | 			get {return _spec;} | |||
|  | 			 set {_spec = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   custOrder{ | |||
|  | 			get {return _custOrder;} | |||
|  | 			 set {_custOrder = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   elabId{ | |||
|  | 			get {return _elabId;} | |||
|  | 			 set {_elabId = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   elabAddress{ | |||
|  | 			get {return _elabAddress;} | |||
|  | 			 set {_elabAddress = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   deskId{ | |||
|  | 			get {return _deskId;} | |||
|  | 			 set {_deskId = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   port{ | |||
|  | 			get {return _port;} | |||
|  | 			 set {_port = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   color{ | |||
|  | 			get {return _color;} | |||
|  | 			 set {_color = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   state{ | |||
|  | 			get {return _state;} | |||
|  | 			 set {_state = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  picktime{ | |||
|  | 			get {return _picktime;} | |||
|  | 			 set {_picktime = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  description{ | |||
|  | 			get {return _description;} | |||
|  | 			 set {_description = 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  | |||
|  |       public enum fields{seedsNo,barcode,custName,itemName,count,countOut,unit,category1,category2,category3,spec,custOrder,elabId,elabAddress,deskId,port,color,state,picktime,description,operater} | |||
|  |       #endregion | |||
|  |      | |||
|  | 	 | |||
|  | 	} | |||
|  | 	#endregion | |||
|  | } |