313 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			313 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			C#
		
	
	
	
| /// <summary>
 | |
| ///Data Object 
 | |
| ///BASIC CLASS FOR TABLE t_erp_sale_d
 | |
| ///By wm  
 | |
| ///on 01/13/2024
 | |
| /// </summary>
 | |
|  
 | |
| using System;
 | |
| using System.Data;
 | |
| using DeiNiu.Data.BaseObject;
 | |
|  
 | |
| namespace  DeiNiu.wms.Data.Model
 | |
| {
 | |
| 
 | |
| 	#region Erp_sale_d_base
 | |
| 	/// <summary>
 | |
| 	/// This object represents the properties and methods of a Erp_sale_d_base.
 | |
|     /// </summary>
 | |
|     [Serializable]
 | |
| 	public class Erp_sale_d_base  : BaseModel { 
 | |
| 
 | |
|                        
 | |
|                     internal string _sale_order = String.Empty,_Osale_order= String.Empty;   
 | |
|                     internal int _sale_order_sn,_Osale_order_sn;   
 | |
|                     internal string _order_type = String.Empty,_Oorder_type= String.Empty;   
 | |
|                     internal int _erp_state,_Oerp_state;   
 | |
|                     internal int _wms_state,_Owms_state;   
 | |
|                     internal string _purchseOrder = String.Empty,_OpurchseOrder= String.Empty;   
 | |
|                     internal decimal _price,_Oprice;   
 | |
|                     internal decimal _packingQty,_OpackingQty;   
 | |
|                     internal int _priority,_Opriority;   
 | |
|                     internal string _goods_id = String.Empty,_Ogoods_id= String.Empty;   
 | |
|                     internal int _skuId,_OskuId;   
 | |
|                     internal string _skuCode = String.Empty,_OskuCode= String.Empty;   
 | |
|                     internal string _batch = String.Empty,_Obatch= String.Empty;   
 | |
|                     internal string _product_date = String.Empty,_Oproduct_date= String.Empty;   
 | |
|                     internal string _save_date = String.Empty,_Osave_date= String.Empty;   
 | |
|                     internal decimal _count,_Ocount;   
 | |
|                     internal decimal _reviseCount,_OreviseCount;   
 | |
|                     internal decimal _pickCount,_OpickCount;   
 | |
|                     internal string _add_date = String.Empty,_Oadd_date= String.Empty;   
 | |
|                     internal string _entid = String.Empty,_Oentid= String.Empty;   
 | |
|                     internal string _orgid = String.Empty,_Oorgid= String.Empty;   
 | |
|                     internal string _oppcontid = String.Empty,_Ooppcontid= String.Empty;   
 | |
|                     internal int _whtype,_Owhtype;   
 | |
|                     internal string _whname = String.Empty,_Owhname= String.Empty;   
 | |
|                     internal string _suppliersId = String.Empty,_OsuppliersId= String.Empty;   
 | |
|                     internal string _validBy = String.Empty,_OvalidBy= String.Empty;   
 | |
|                     internal string _validByTime = String.Empty,_OvalidByTime= String.Empty;   
 | |
|                     internal string _validBy1 = String.Empty,_OvalidBy1= String.Empty;   
 | |
|                     internal string _validByTime1 = String.Empty,_OvalidByTime1= String.Empty;   
 | |
|                     internal string _locationid = String.Empty,_Olocationid= String.Empty;   
 | |
|                     internal bool _liangdeng,_Oliangdeng;   
 | |
|                     internal bool _fuhezt,_Ofuhezt;   
 | |
|                     internal bool _dengmie,_Odengmie;   
 | |
|                     internal string _checkedBy2 = String.Empty,_OcheckedBy2= String.Empty;   
 | |
|                     internal string _checkedBy2time = String.Empty,_OcheckedBy2time= String.Empty;   
 | |
|                     internal string _ext1 = String.Empty,_Oext1= String.Empty;   
 | |
|                     internal string _ext2 = String.Empty,_Oext2= String.Empty;   
 | |
|                     internal string _ext3 = String.Empty,_Oext3= String.Empty;   
 | |
|                     internal string _ext4 = String.Empty,_Oext4= String.Empty;   
 | |
|                     internal int _Ooperater;   
 | |
|                        
 | |
|                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;   
 | |
|                        
 | |
| 		
 | |
| 		public  Erp_sale_d_base () {
 | |
| 		}
 | |
| 		public  Erp_sale_d_base (int id) {
 | |
| 			_id=id;
 | |
| 			getModel();
 | |
| 		}
 | |
| 		public  Erp_sale_d_base(DataRow dr)
 | |
|         {
 | |
|             getModel(dr);
 | |
|         }
 | |
|           public Erp_sale_d_base(System.Data.SqlClient.SqlConnection _Conn)
 | |
|             : base(_Conn) 
 | |
|         {
 | |
| 
 | |
|         }
 | |
|           protected override void getImp()
 | |
|         {
 | |
|             model_imp = new Erp_sale_d_base_Imp();  
 | |
|         }
 | |
| 		#region Public Properties 
 | |
|         public string  sale_order{
 | |
| 			get {return _sale_order;}
 | |
| 			 set {_sale_order = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   sale_order_sn{
 | |
| 			get {return _sale_order_sn;}
 | |
| 			 set {_sale_order_sn = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  order_type{
 | |
| 			get {return _order_type;}
 | |
| 			 set {_order_type = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   erp_state{
 | |
| 			get {return _erp_state;}
 | |
| 			 set {_erp_state = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   wms_state{
 | |
| 			get {return _wms_state;}
 | |
| 			 set {_wms_state = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  purchseOrder{
 | |
| 			get {return _purchseOrder;}
 | |
| 			 set {_purchseOrder = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  decimal   price{
 | |
| 			get {return _price;}
 | |
| 			 set {_price = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  decimal   packingQty{
 | |
| 			get {return _packingQty;}
 | |
| 			 set {_packingQty = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   priority{
 | |
| 			get {return _priority;}
 | |
| 			 set {_priority = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  goods_id{
 | |
| 			get {return _goods_id;}
 | |
| 			 set {_goods_id = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   skuId{
 | |
| 			get {return _skuId;}
 | |
| 			 set {_skuId = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  skuCode{
 | |
| 			get {return _skuCode;}
 | |
| 			 set {_skuCode = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  batch{
 | |
| 			get {return _batch;}
 | |
| 			 set {_batch = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  product_date{
 | |
| 			get {return _product_date;}
 | |
| 			 set {_product_date = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  save_date{
 | |
| 			get {return _save_date;}
 | |
| 			 set {_save_date = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  decimal   count{
 | |
| 			get {return _count;}
 | |
| 			 set {_count = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  decimal   reviseCount{
 | |
| 			get {return _reviseCount;}
 | |
| 			 set {_reviseCount = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  decimal   pickCount{
 | |
| 			get {return _pickCount;}
 | |
| 			 set {_pickCount = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  add_date{
 | |
| 			get {return _add_date;}
 | |
| 			 set {_add_date = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  entid{
 | |
| 			get {return _entid;}
 | |
| 			 set {_entid = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  orgid{
 | |
| 			get {return _orgid;}
 | |
| 			 set {_orgid = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  oppcontid{
 | |
| 			get {return _oppcontid;}
 | |
| 			 set {_oppcontid = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   whtype{
 | |
| 			get {return _whtype;}
 | |
| 			 set {_whtype = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  whname{
 | |
| 			get {return _whname;}
 | |
| 			 set {_whname = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  suppliersId{
 | |
| 			get {return _suppliersId;}
 | |
| 			 set {_suppliersId = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  validBy{
 | |
| 			get {return _validBy;}
 | |
| 			 set {_validBy = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  validByTime{
 | |
| 			get {return _validByTime;}
 | |
| 			 set {_validByTime = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  validBy1{
 | |
| 			get {return _validBy1;}
 | |
| 			 set {_validBy1 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  validByTime1{
 | |
| 			get {return _validByTime1;}
 | |
| 			 set {_validByTime1 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  locationid{
 | |
| 			get {return _locationid;}
 | |
| 			 set {_locationid = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  bool   liangdeng{
 | |
| 			get {return _liangdeng;}
 | |
| 			 set {_liangdeng = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  bool   fuhezt{
 | |
| 			get {return _fuhezt;}
 | |
| 			 set {_fuhezt = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  bool   dengmie{
 | |
| 			get {return _dengmie;}
 | |
| 			 set {_dengmie = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  checkedBy2{
 | |
| 			get {return _checkedBy2;}
 | |
| 			 set {_checkedBy2 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  checkedBy2time{
 | |
| 			get {return _checkedBy2time;}
 | |
| 			 set {_checkedBy2time = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  ext1{
 | |
| 			get {return _ext1;}
 | |
| 			 set {_ext1 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  ext2{
 | |
| 			get {return _ext2;}
 | |
| 			 set {_ext2 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  ext3{
 | |
| 			get {return _ext3;}
 | |
| 			 set {_ext3 = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  ext4{
 | |
| 			get {return _ext4;}
 | |
| 			 set {_ext4 = 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{sale_order,sale_order_sn,order_type,erp_state,wms_state,purchseOrder,price,packingQty,priority,goods_id,skuId,skuCode,batch,product_date,save_date,count,reviseCount,pickCount,add_date,entid,orgid,oppcontid,whtype,whname,suppliersId,validBy,validByTime,validBy1,validByTime1,locationid,liangdeng,fuhezt,dengmie,checkedBy2,checkedBy2time,ext1,ext2,ext3,ext4,operater}
 | |
|       #endregion
 | |
|     
 | |
| 	
 | |
| 	}
 | |
| 	#endregion
 | |
| }
 |