97 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			97 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | /// <summary> | |||
|  | ///Data Object  | |||
|  | ///BASIC CLASS FOR TABLE t_GoodsBarCode | |||
|  | ///By wm   | |||
|  | ///on 08/03/2018 | |||
|  | /// </summary> | |||
|  |   | |||
|  | using System; | |||
|  | using System.Data; | |||
|  | using DeiNiu.Data.BaseObject; | |||
|  |   | |||
|  | namespace  DeiNiu.wms.Data.Model | |||
|  | { | |||
|  | 
 | |||
|  | 	#region GoodsBarCode_base | |||
|  | 	/// <summary> | |||
|  | 	/// This object represents the properties and methods of a GoodsBarCode_base. | |||
|  |     /// </summary> | |||
|  |     [Serializable] | |||
|  | 	public class GoodsBarCode_base  : BaseModel {  | |||
|  | 
 | |||
|  |                         | |||
|  |                     internal string _barcode = String.Empty;    | |||
|  |                     internal string _goodsId = String.Empty;    | |||
|  |                     internal int _unitID;    | |||
|  |                         | |||
|  |                         | |||
|  |                     internal string _createtime = String.Empty;    | |||
|  |                         | |||
|  | 		 | |||
|  | 		public  GoodsBarCode_base () { | |||
|  | 		} | |||
|  | 		public  GoodsBarCode_base (int id) { | |||
|  | 			_id=id; | |||
|  | 			getModel(); | |||
|  | 		} | |||
|  | 		public  GoodsBarCode_base(DataRow dr) | |||
|  |         { | |||
|  |             getModel(dr); | |||
|  |         } | |||
|  |           public GoodsBarCode_base(System.Data.SqlClient.SqlConnection _Conn) | |||
|  |             : base(_Conn)  | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |           protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new GoodsBarCode_base_Imp();   | |||
|  |         } | |||
|  | 		#region Public Properties  | |||
|  |         public string  barcode{ | |||
|  | 			get {return _barcode;} | |||
|  | 			 set {_barcode = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public string  goodsId{ | |||
|  | 			get {return _goodsId;} | |||
|  | 			 set {_goodsId = value;}     | |||
|  | 		}   | |||
|  |          | |||
|  |         public  int   unitID{ | |||
|  | 			get {return _unitID;} | |||
|  | 			 set {_unitID = 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{barcode,goodsId,unitID,operater} | |||
|  |       #endregion | |||
|  |      | |||
|  | 	 | |||
|  | 	} | |||
|  | 	#endregion | |||
|  | } |