163 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			163 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								/// <summary>
							 | 
						|||
| 
								 | 
							
								///Data Object 
							 | 
						|||
| 
								 | 
							
								///BASIC CLASS FOR TABLE t_wmsDealLocation
							 | 
						|||
| 
								 | 
							
								///By wm  
							 | 
						|||
| 
								 | 
							
								///on 06/30/2017
							 | 
						|||
| 
								 | 
							
								/// </summary>
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Data;
							 | 
						|||
| 
								 | 
							
								using DeiNiu.Data.BaseObject;
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								namespace  DeiNiu.wms.Data.Model
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
									#region WmsDealLocation_base
							 | 
						|||
| 
								 | 
							
									/// <summary>
							 | 
						|||
| 
								 | 
							
									/// This object represents the properties and methods of a WmsDealLocation_base.
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    [Serializable]
							 | 
						|||
| 
								 | 
							
									public class WmsDealLocation_base  : BaseModel { 
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal string _locationFrom = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _locationTo = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _goodsId = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _batch = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _productDate = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _validDate = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _count;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _outCount;   
							 | 
						|||
| 
								 | 
							
								                    internal string _manufacturer = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal int _state;   
							 | 
						|||
| 
								 | 
							
								                    internal int _checkBy;   
							 | 
						|||
| 
								 | 
							
								                    internal string _description = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal int _printCnt;   
							 | 
						|||
| 
								 | 
							
								                    internal string _finishedTime = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal string _createtime = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
										
							 | 
						|||
| 
								 | 
							
										public  WmsDealLocation_base () {
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsDealLocation_base (int id) {
							 | 
						|||
| 
								 | 
							
											_id=id;
							 | 
						|||
| 
								 | 
							
											getModel();
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsDealLocation_base(DataRow dr)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            getModel(dr);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          public WmsDealLocation_base(System.Data.SqlClient.SqlConnection _Conn)
							 | 
						|||
| 
								 | 
							
								            : base(_Conn) 
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          protected override void getImp()
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            model_imp = new WmsDealLocation_base_Imp();  
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
										#region Public Properties 
							 | 
						|||
| 
								 | 
							
								        public string  locationFrom{
							 | 
						|||
| 
								 | 
							
											get {return _locationFrom;}
							 | 
						|||
| 
								 | 
							
											 set {_locationFrom = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  locationTo{
							 | 
						|||
| 
								 | 
							
											get {return _locationTo;}
							 | 
						|||
| 
								 | 
							
											 set {_locationTo = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  goodsId{
							 | 
						|||
| 
								 | 
							
											get {return _goodsId;}
							 | 
						|||
| 
								 | 
							
											 set {_goodsId = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  batch{
							 | 
						|||
| 
								 | 
							
											get {return _batch;}
							 | 
						|||
| 
								 | 
							
											 set {_batch = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  productDate{
							 | 
						|||
| 
								 | 
							
											get {return _productDate;}
							 | 
						|||
| 
								 | 
							
											 set {_productDate = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  validDate{
							 | 
						|||
| 
								 | 
							
											get {return _validDate;}
							 | 
						|||
| 
								 | 
							
											 set {_validDate = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   count{
							 | 
						|||
| 
								 | 
							
											get {return _count;}
							 | 
						|||
| 
								 | 
							
											 set {_count = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   outCount{
							 | 
						|||
| 
								 | 
							
											get {return _outCount;}
							 | 
						|||
| 
								 | 
							
											 set {_outCount = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  manufacturer{
							 | 
						|||
| 
								 | 
							
											get {return _manufacturer;}
							 | 
						|||
| 
								 | 
							
											 set {_manufacturer = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   state{
							 | 
						|||
| 
								 | 
							
											get {return _state;}
							 | 
						|||
| 
								 | 
							
											 set {_state = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   checkBy{
							 | 
						|||
| 
								 | 
							
											get {return _checkBy;}
							 | 
						|||
| 
								 | 
							
											 set {_checkBy = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  description{
							 | 
						|||
| 
								 | 
							
											get {return _description;}
							 | 
						|||
| 
								 | 
							
											 set {_description = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   printCnt{
							 | 
						|||
| 
								 | 
							
											get {return _printCnt;}
							 | 
						|||
| 
								 | 
							
											 set {_printCnt = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  finishedTime{
							 | 
						|||
| 
								 | 
							
											get {return _finishedTime;}
							 | 
						|||
| 
								 | 
							
											 set {_finishedTime = 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{locationFrom,locationTo,goodsId,batch,productDate,validDate,count,outCount,manufacturer,state,checkBy,description,printCnt,finishedTime,operater}
							 | 
						|||
| 
								 | 
							
								      #endregion
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
									
							 | 
						|||
| 
								 | 
							
									}
							 | 
						|||
| 
								 | 
							
									#endregion
							 | 
						|||
| 
								 | 
							
								}
							 |