163 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			163 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
	
	
/// <summary>
 | 
						|
///Data Object 
 | 
						|
///BASIC CLASS FOR TABLE t_wmsStock
 | 
						|
///By wm  
 | 
						|
///on 04/14/2018
 | 
						|
/// </summary>
 | 
						|
 
 | 
						|
using System;
 | 
						|
using System.Data;
 | 
						|
using DeiNiu.Data.BaseObject;
 | 
						|
 
 | 
						|
namespace  DeiNiu.wms.Data.Model
 | 
						|
{
 | 
						|
 | 
						|
	#region WmsStock_base
 | 
						|
	/// <summary>
 | 
						|
	/// This object represents the properties and methods of a WmsStock_base.
 | 
						|
    /// </summary>
 | 
						|
    [Serializable]
 | 
						|
	public class WmsStock_base  : BaseModel { 
 | 
						|
 | 
						|
                       
 | 
						|
                    internal string _goodsId = String.Empty;   
 | 
						|
                    internal string _batch = String.Empty;   
 | 
						|
                    internal string _locationId = String.Empty;   
 | 
						|
                    internal string _productDate = String.Empty;   
 | 
						|
                    internal string _validDate = String.Empty;   
 | 
						|
                    internal int _validationTerm;   
 | 
						|
                    internal decimal _count;   
 | 
						|
                    internal decimal _countLock;   
 | 
						|
                    internal decimal _countOut;   
 | 
						|
                    internal decimal _countIn;   
 | 
						|
                    internal decimal _countOuting;   
 | 
						|
                    internal int _state;   
 | 
						|
                    internal string _maintainDate = String.Empty;   
 | 
						|
                    internal string _description = String.Empty;   
 | 
						|
                       
 | 
						|
                       
 | 
						|
                    internal string _createtime = String.Empty;   
 | 
						|
                       
 | 
						|
		
 | 
						|
		public  WmsStock_base () {
 | 
						|
		}
 | 
						|
		public  WmsStock_base (int id) {
 | 
						|
			_id=id;
 | 
						|
			getModel();
 | 
						|
		}
 | 
						|
		public  WmsStock_base(DataRow dr)
 | 
						|
        {
 | 
						|
            getModel(dr);
 | 
						|
        }
 | 
						|
          public WmsStock_base(System.Data.SqlClient.SqlConnection _Conn)
 | 
						|
            : base(_Conn) 
 | 
						|
        {
 | 
						|
 | 
						|
        }
 | 
						|
          protected override void getImp()
 | 
						|
        {
 | 
						|
            model_imp = new WmsStock_base_Imp();  
 | 
						|
        }
 | 
						|
		#region Public Properties 
 | 
						|
        public string  goodsId{
 | 
						|
			get {return _goodsId;}
 | 
						|
			 set {_goodsId = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  batch{
 | 
						|
			get {return _batch;}
 | 
						|
			 set {_batch = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  locationId{
 | 
						|
			get {return _locationId;}
 | 
						|
			 set {_locationId = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  productDate{
 | 
						|
			get {return _productDate;}
 | 
						|
			 set {_productDate = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  validDate{
 | 
						|
			get {return _validDate;}
 | 
						|
			 set {_validDate = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  int   validationTerm{
 | 
						|
			get {return _validationTerm;}
 | 
						|
			 set {_validationTerm = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  decimal   count{
 | 
						|
			get {return _count;}
 | 
						|
			 set {_count = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  decimal   countLock{
 | 
						|
			get {return _countLock;}
 | 
						|
			 set {_countLock = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  decimal   countOut{
 | 
						|
			get {return _countOut;}
 | 
						|
			 set {_countOut = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  decimal   countIn{
 | 
						|
			get {return _countIn;}
 | 
						|
			 set {_countIn = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  decimal   countOuting{
 | 
						|
			get {return _countOuting;}
 | 
						|
			 set {_countOuting = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public  int   state{
 | 
						|
			get {return _state;}
 | 
						|
			 set {_state = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  maintainDate{
 | 
						|
			get {return _maintainDate;}
 | 
						|
			 set {_maintainDate = value;}    
 | 
						|
		}  
 | 
						|
        
 | 
						|
        public string  description{
 | 
						|
			get {return _description;}
 | 
						|
			 set {_description = 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{goodsId,batch,locationId,productDate,validDate,validationTerm,count,countLock,countOut,countIn,countOuting,state,maintainDate,description,operater}
 | 
						|
      #endregion
 | 
						|
    
 | 
						|
	
 | 
						|
	}
 | 
						|
	#endregion
 | 
						|
}
 |