/// 
///Data Object 
///BASIC CLASS FOR TABLE t_wmsLocation
///By wm  
///on 09-25-2021
/// 
 
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,_OlocationId= String.Empty;   
                    internal string _locationId128 = String.Empty,_OlocationId128= String.Empty;   
                    internal string _ownerCode = String.Empty,_OownerCode= String.Empty;   
                    internal int _warehouse,_Owarehouse;   
                    internal int _channel,_Ochannel;   
                    internal int _shelf,_Oshelf;   
                    internal int _layer,_Olayer;   
                    internal int _col,_Ocol;   
                    internal int _elabId,_OelabId;   
                    internal int _elabAddress,_OelabAddress;   
                    internal int _port,_Oport;   
                    internal int _state,_Ostate;   
                    internal int _partion,_Opartion;   
                    internal int _Ooperater;   
                       
                    internal string _createtime = String.Empty,_Ocreatetime= 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 string  ownerCode{
			get {return _ownerCode;}
			 set {_ownerCode = 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   partion{
			get {return _partion;}
			 set {_partion = 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,ownerCode,warehouse,channel,shelf,layer,col,elabId,elabAddress,port,state,partion,operater}
      #endregion
    
	
	}
	#endregion
}