/// 
///Data Object 
///BASIC CLASS FOR TABLE t_wmsLocation
///By wm  
///on 08/14/2018
/// 
 
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
 
namespace  DeiNiu.wms.Data.Model
{
	#region WmsLocation_base
	/// 
	/// This object represents the properties and methods of a WmsLocation_base.
    /// 
    [Serializable]
	public class WmsLocation_base  : BaseModel { 
                       
                    internal string _locationId = String.Empty;   
                    internal string _locationId128 = String.Empty;   
                    internal int _warehouse;   
                    internal int _channel;   
                    internal int _shelf;   
                    internal int _layer;   
                    internal int _col;   
                    internal int _elabId;   
                    internal int _elabAddress;   
                    internal int _port;   
                    internal int _state;   
                       
                       
                    internal string _createtime = String.Empty;   
                       
		
		public  WmsLocation_base () {
		}
		public  WmsLocation_base (int id) {
			_id=id;
			getModel();
		}
		public  WmsLocation_base(DataRow dr)
        {
            getModel(dr);
        }
          public WmsLocation_base(System.Data.SqlClient.SqlConnection _Conn)
            : base(_Conn) 
        {
        }
          protected override void getImp()
        {
            model_imp = new WmsLocation_base_Imp();  
        }
		#region Public Properties 
        public string  locationId{
			get {return _locationId;}
			 set {_locationId = value;}    
		}  
        
        public string  locationId128{
			get {return _locationId128;}
			 set {_locationId128 = value;}    
		}  
        
        public  int   warehouse{
			get {return _warehouse;}
			 set {_warehouse = value;}    
		}  
        
        public  int   channel{
			get {return _channel;}
			 set {_channel = value;}    
		}  
        
        public  int   shelf{
			get {return _shelf;}
			 set {_shelf = value;}    
		}  
        
        public  int   layer{
			get {return _layer;}
			 set {_layer = value;}    
		}  
        
        public  int   col{
			get {return _col;}
			 set {_col = value;}    
		}  
        
        public  int   elabId{
			get {return _elabId;}
			 set {_elabId = value;}    
		}  
        
        public  int   elabAddress{
			get {return _elabAddress;}
			 set {_elabAddress = value;}    
		}  
        
        public  int   port{
			get {return _port;}
			 set {_port = value;}    
		}  
        
        public  int   state{
			get {return _state;}
			 set {_state = 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{locationId,locationId128,warehouse,channel,shelf,layer,col,elabId,elabAddress,port,state,operater}
      #endregion
    
	
	}
	#endregion
}