/// 
///Data Object 
///BASIC CLASS FOR TABLE t_erp_purch_receive_pre
///By wm  
///on 08/04/2023
/// 
 
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
 
namespace  DeiNiu.wms.Data.Model
{
	#region Erp_purch_receive_pre_base
	/// 
	/// This object represents the properties and methods of a Erp_purch_receive_pre_base.
    /// 
    [Serializable]
	public class Erp_purch_receive_pre_base  : BaseModel { 
                       
                    internal string _preInOrderNo = String.Empty,_OpreInOrderNo= String.Empty;   
                    internal string _pur_order = String.Empty,_Opur_order= String.Empty;   
                    internal int _orderType,_OorderType;   
                    internal int _purch_d_id,_Opurch_d_id;   
                    internal int _shipId,_OshipId;   
                    internal decimal _arriveCount,_OarriveCount;   
                    internal decimal _receiveCount,_OreceiveCount;   
                    internal decimal _validCount,_OvalidCount;   
                    internal decimal _onShelfCount,_OonShelfCount;   
                    internal string _mem = String.Empty,_Omem= String.Empty;   
                    internal int _state,_Ostate;   
                    internal int _Ooperater;   
                       
                    internal string _createtime = String.Empty,_Ocreatetime= String.Empty;   
                       
		
		public  Erp_purch_receive_pre_base () {
		}
		public  Erp_purch_receive_pre_base (int id) {
			_id=id;
			getModel();
		}
		public  Erp_purch_receive_pre_base(DataRow dr)
        {
            getModel(dr);
        }
          public Erp_purch_receive_pre_base(System.Data.SqlClient.SqlConnection _Conn)
            : base(_Conn) 
        {
        }
          protected override void getImp()
        {
            model_imp = new Erp_purch_receive_pre_base_Imp();  
        }
		#region Public Properties 
        public string  preInOrderNo{
			get {return _preInOrderNo;}
			 set {_preInOrderNo = value;}    
		}  
        
        public string  pur_order{
			get {return _pur_order;}
			 set {_pur_order = value;}    
		}  
        
        public  int   orderType{
			get {return _orderType;}
			 set {_orderType = value;}    
		}  
        
        public  int   purch_d_id{
			get {return _purch_d_id;}
			 set {_purch_d_id = value;}    
		}  
        
        public  int   shipId{
			get {return _shipId;}
			 set {_shipId = value;}    
		}  
        
        public  decimal   arriveCount{
			get {return _arriveCount;}
			 set {_arriveCount = value;}    
		}  
        
        public  decimal   receiveCount{
			get {return _receiveCount;}
			 set {_receiveCount = value;}    
		}  
        
        public  decimal   validCount{
			get {return _validCount;}
			 set {_validCount = value;}    
		}  
        
        public  decimal   onShelfCount{
			get {return _onShelfCount;}
			 set {_onShelfCount = value;}    
		}  
        
        public string  mem{
			get {return _mem;}
			 set {_mem = value;}    
		}  
        
        public  int   state{
			get {return _state;}
			 set {_state = value;}    
		}  
        
        public  int   operater{
			get {return _operater;}
			 set {_operater = value;}    
		}  
        
        public  bool   dr{
			get {return _dr;}
			   
		}  
        
        public string  createtime{
			get {return _createtime;}
			 set {_createtime = value;}    
		}  
        
        public string  lastmodified{
			get {return _lastmodified;}
			   
		}  
        
		 
		#endregion
                 
      #region fieldNames 
      public enum fields{preInOrderNo,pur_order,orderType,purch_d_id,shipId,arriveCount,receiveCount,validCount,onShelfCount,mem,state,operater}
      #endregion
    
	
	}
	#endregion
}