157 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			157 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | /// <summary> | |||
|  | ///Data Object  | |||
|  | ///BASIC CLASS FOR TABLE t_wmsOutDetail | |||
|  | ///By wm   | |||
|  | ///on 06/30/2017 | |||
|  | /// </summary> | |||
|  |   | |||
|  | using System; | |||
|  | using System.Data; | |||
|  | using DeiNiu.Data.BaseObject; | |||
|  |   | |||
|  | namespace  DeiNiu.wms.Data.Model | |||
|  | { | |||
|  | 
 | |||
|  | 	#region WmsOutDetail_base | |||
|  | 	/// <summary> | |||
|  | 	/// This object represents the properties and methods of a WmsOutDetail_base. | |||
|  |     /// </summary> | |||
|  |     [Serializable] | |||
|  | 	public class WmsOutDetail_base  : BaseModel {  | |||
|  | 
 | |||
|  |                         | |||
|  |                     internal string _orderNo = String.Empty;    | |||
|  |                     internal string _goodsId = String.Empty;    | |||
|  |                     internal string _batch = String.Empty;    | |||
|  |                     internal decimal _count;    | |||
|  |                     internal decimal _bulkCount;    | |||
|  |                     internal decimal _batch1Count;    | |||
|  |                     internal decimal _batch2Count;    | |||
|  |                     internal int _boxcnt;    | |||
|  |                     internal string _productDate = String.Empty;    | |||
|  |                     internal string _validDate = String.Empty;    | |||
|  |                     internal int _state;    | |||
|  |                     internal int _whtype;    | |||
|  |                     internal string _description = String.Empty;    | |||
|  |                         | |||
|  |                         | |||
|  |                     internal string _createtime = String.Empty;    | |||
|  |                         | |||
|  | 		 | |||
|  | 		public  WmsOutDetail_base () { | |||
|  | 		} | |||
|  | 		public  WmsOutDetail_base (int id) { | |||
|  | 			_id=id; | |||
|  | 			getModel(); | |||
|  | 		} | |||
|  | 		public  WmsOutDetail_base(DataRow dr) | |||
|  |         { | |||
|  |             getModel(dr); | |||
|  |         } | |||
|  |           public WmsOutDetail_base(System.Data.SqlClient.SqlConnection _Conn) | |||
|  |             : base(_Conn)  | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |           protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new WmsOutDetail_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  decimal   count{ | |||
|  | 			get {return _count;} | |||
|  | 			 set {_count = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   bulkCount{ | |||
|  | 			get {return _bulkCount;} | |||
|  | 			 set {_bulkCount = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   batch1Count{ | |||
|  | 			get {return _batch1Count;} | |||
|  | 			 set {_batch1Count = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   batch2Count{ | |||
|  | 			get {return _batch2Count;} | |||
|  | 			 set {_batch2Count = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   boxcnt{ | |||
|  | 			get {return _boxcnt;} | |||
|  | 			 set {_boxcnt = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  productDate{ | |||
|  | 			get {return _productDate;} | |||
|  | 			 set {_productDate = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  validDate{ | |||
|  | 			get {return _validDate;} | |||
|  | 			 set {_validDate = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   state{ | |||
|  | 			get {return _state;} | |||
|  | 			 set {_state = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   whtype{ | |||
|  | 			get {return _whtype;} | |||
|  | 			 set {_whtype = 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{orderNo,goodsId,batch,count,bulkCount,batch1Count,batch2Count,boxcnt,productDate,validDate,state,whtype,description,operater} | |||
|  |       #endregion | |||
|  |      | |||
|  | 	 | |||
|  | 	} | |||
|  | 	#endregion | |||
|  | } |