169 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			169 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | /// <summary> | |||
|  | ///Data Object  | |||
|  | ///BASIC CLASS FOR TABLE t_tmsTranRequest | |||
|  | ///By wm   | |||
|  | ///on 07/31/2017 | |||
|  | /// </summary> | |||
|  |   | |||
|  | using System; | |||
|  | using System.Data; | |||
|  | using DeiNiu.Data.BaseObject; | |||
|  |   | |||
|  | namespace  DeiNiu.wms.Data.Model | |||
|  | { | |||
|  | 
 | |||
|  | 	#region TmsTranRequest_base | |||
|  | 	/// <summary> | |||
|  | 	/// This object represents the properties and methods of a TmsTranRequest_base. | |||
|  |     /// </summary> | |||
|  |     [Serializable] | |||
|  | 	public class TmsTranRequest_base  : BaseModel {  | |||
|  | 
 | |||
|  |                         | |||
|  |                     internal string _transNo = String.Empty;    | |||
|  |                     internal int _lineId;    | |||
|  |                     internal int _tranType;    | |||
|  |                     internal string _viechleNo = String.Empty;    | |||
|  |                     internal string _contact = String.Empty;    | |||
|  |                     internal int _driver;    | |||
|  |                     internal string _phone = String.Empty;    | |||
|  |                     internal int _state;    | |||
|  |                     internal string _description = String.Empty;    | |||
|  |                     internal int _thirdPart;    | |||
|  |                     internal decimal _sumVol;    | |||
|  |                     internal decimal _sumWeight;    | |||
|  |                     internal int _boxCnt;    | |||
|  |                     internal int _bulkBox;    | |||
|  |                     internal int _bulkBag;    | |||
|  |                         | |||
|  |                         | |||
|  |                     internal string _createtime = String.Empty;    | |||
|  |                         | |||
|  | 		 | |||
|  | 		public  TmsTranRequest_base () { | |||
|  | 		} | |||
|  | 		public  TmsTranRequest_base (int id) { | |||
|  | 			_id=id; | |||
|  | 			getModel(); | |||
|  | 		} | |||
|  | 		public  TmsTranRequest_base(DataRow dr) | |||
|  |         { | |||
|  |             getModel(dr); | |||
|  |         } | |||
|  |           public TmsTranRequest_base(System.Data.SqlClient.SqlConnection _Conn) | |||
|  |             : base(_Conn)  | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |           protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new TmsTranRequest_base_Imp();   | |||
|  |         } | |||
|  | 		#region Public Properties  | |||
|  |         public string  transNo{ | |||
|  | 			get {return _transNo;} | |||
|  | 			 set {_transNo = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   lineId{ | |||
|  | 			get {return _lineId;} | |||
|  | 			 set {_lineId = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   tranType{ | |||
|  | 			get {return _tranType;} | |||
|  | 			 set {_tranType = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  viechleNo{ | |||
|  | 			get {return _viechleNo;} | |||
|  | 			 set {_viechleNo = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  contact{ | |||
|  | 			get {return _contact;} | |||
|  | 			 set {_contact = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   driver{ | |||
|  | 			get {return _driver;} | |||
|  | 			 set {_driver = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  phone{ | |||
|  | 			get {return _phone;} | |||
|  | 			 set {_phone = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   state{ | |||
|  | 			get {return _state;} | |||
|  | 			 set {_state = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  description{ | |||
|  | 			get {return _description;} | |||
|  | 			 set {_description = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   thirdPart{ | |||
|  | 			get {return _thirdPart;} | |||
|  | 			 set {_thirdPart = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   sumVol{ | |||
|  | 			get {return _sumVol;} | |||
|  | 			 set {_sumVol = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  decimal   sumWeight{ | |||
|  | 			get {return _sumWeight;} | |||
|  | 			 set {_sumWeight = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   boxCnt{ | |||
|  | 			get {return _boxCnt;} | |||
|  | 			 set {_boxCnt = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   bulkBox{ | |||
|  | 			get {return _bulkBox;} | |||
|  | 			 set {_bulkBox = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   bulkBag{ | |||
|  | 			get {return _bulkBag;} | |||
|  | 			 set {_bulkBag = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   operater{ | |||
|  | 			get {return _operater;} | |||
|  | 			 set {_operater = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  lastmodified{ | |||
|  | 			get {return _lastmodified;} | |||
|  | 			    | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  createtime{ | |||
|  | 			get {return _createtime;} | |||
|  | 			 set {_createtime = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  bool   dr{ | |||
|  | 			get {return _dr;} | |||
|  | 			    | |||
|  | 		}   | |||
|  |          | |||
|  | 		  | |||
|  | 		#endregion | |||
|  |                   | |||
|  |       #region fieldNames  | |||
|  |       public enum fields{transNo,lineId,tranType,viechleNo,contact,driver,phone,state,description,thirdPart,sumVol,sumWeight,boxCnt,bulkBox,bulkBag,operater} | |||
|  |       #endregion | |||
|  |      | |||
|  | 	 | |||
|  | 	} | |||
|  | 	#endregion | |||
|  | } |