199 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			199 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								/// <summary>
							 | 
						|||
| 
								 | 
							
								///Data Object 
							 | 
						|||
| 
								 | 
							
								///BASIC CLASS FOR TABLE t_wmsGoods
							 | 
						|||
| 
								 | 
							
								///By wm  
							 | 
						|||
| 
								 | 
							
								///on 05/09/2018
							 | 
						|||
| 
								 | 
							
								/// </summary>
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Data;
							 | 
						|||
| 
								 | 
							
								using DeiNiu.Data.BaseObject;
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								namespace  DeiNiu.wms.Data.Model
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
									#region WmsGoods_base
							 | 
						|||
| 
								 | 
							
									/// <summary>
							 | 
						|||
| 
								 | 
							
									/// This object represents the properties and methods of a WmsGoods_base.
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    [Serializable]
							 | 
						|||
| 
								 | 
							
									public class WmsGoods_base  : BaseModel { 
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal string _goodsId = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal int _goodsType;   
							 | 
						|||
| 
								 | 
							
								                    internal int _part;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _full_max;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _bulkMax;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _bulkMax1;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _batchMax1;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _batchMax2;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _batchMax3;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _batchMax4;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _length;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _width;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _height;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _weight;   
							 | 
						|||
| 
								 | 
							
								                    internal int _validTermDays;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _bigCount;   
							 | 
						|||
| 
								 | 
							
								                    internal int _repType;   
							 | 
						|||
| 
								 | 
							
								                    internal int _ABC;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _lowStore;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _highStore;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal string _createtime = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
										
							 | 
						|||
| 
								 | 
							
										public  WmsGoods_base () {
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsGoods_base (int id) {
							 | 
						|||
| 
								 | 
							
											_id=id;
							 | 
						|||
| 
								 | 
							
											getModel();
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsGoods_base(DataRow dr)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            getModel(dr);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          public WmsGoods_base(System.Data.SqlClient.SqlConnection _Conn)
							 | 
						|||
| 
								 | 
							
								            : base(_Conn) 
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          protected override void getImp()
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            model_imp = new WmsGoods_base_Imp();  
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
										#region Public Properties 
							 | 
						|||
| 
								 | 
							
								        public string  goodsId{
							 | 
						|||
| 
								 | 
							
											get {return _goodsId;}
							 | 
						|||
| 
								 | 
							
											 set {_goodsId = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   goodsType{
							 | 
						|||
| 
								 | 
							
											get {return _goodsType;}
							 | 
						|||
| 
								 | 
							
											 set {_goodsType = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   part{
							 | 
						|||
| 
								 | 
							
											get {return _part;}
							 | 
						|||
| 
								 | 
							
											 set {_part = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   full_max{
							 | 
						|||
| 
								 | 
							
											get {return _full_max;}
							 | 
						|||
| 
								 | 
							
											 set {_full_max = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   bulkMax{
							 | 
						|||
| 
								 | 
							
											get {return _bulkMax;}
							 | 
						|||
| 
								 | 
							
											 set {_bulkMax = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   bulkMax1{
							 | 
						|||
| 
								 | 
							
											get {return _bulkMax1;}
							 | 
						|||
| 
								 | 
							
											 set {_bulkMax1 = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   batchMax1{
							 | 
						|||
| 
								 | 
							
											get {return _batchMax1;}
							 | 
						|||
| 
								 | 
							
											 set {_batchMax1 = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   batchMax2{
							 | 
						|||
| 
								 | 
							
											get {return _batchMax2;}
							 | 
						|||
| 
								 | 
							
											 set {_batchMax2 = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   batchMax3{
							 | 
						|||
| 
								 | 
							
											get {return _batchMax3;}
							 | 
						|||
| 
								 | 
							
											 set {_batchMax3 = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   batchMax4{
							 | 
						|||
| 
								 | 
							
											get {return _batchMax4;}
							 | 
						|||
| 
								 | 
							
											 set {_batchMax4 = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   length{
							 | 
						|||
| 
								 | 
							
											get {return _length;}
							 | 
						|||
| 
								 | 
							
											 set {_length = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   width{
							 | 
						|||
| 
								 | 
							
											get {return _width;}
							 | 
						|||
| 
								 | 
							
											 set {_width = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   height{
							 | 
						|||
| 
								 | 
							
											get {return _height;}
							 | 
						|||
| 
								 | 
							
											 set {_height = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   weight{
							 | 
						|||
| 
								 | 
							
											get {return _weight;}
							 | 
						|||
| 
								 | 
							
											 set {_weight = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   validTermDays{
							 | 
						|||
| 
								 | 
							
											get {return _validTermDays;}
							 | 
						|||
| 
								 | 
							
											 set {_validTermDays = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   bigCount{
							 | 
						|||
| 
								 | 
							
											get {return _bigCount;}
							 | 
						|||
| 
								 | 
							
											 set {_bigCount = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   repType{
							 | 
						|||
| 
								 | 
							
											get {return _repType;}
							 | 
						|||
| 
								 | 
							
											 set {_repType = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   ABC{
							 | 
						|||
| 
								 | 
							
											get {return _ABC;}
							 | 
						|||
| 
								 | 
							
											 set {_ABC = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   lowStore{
							 | 
						|||
| 
								 | 
							
											get {return _lowStore;}
							 | 
						|||
| 
								 | 
							
											 set {_lowStore = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   highStore{
							 | 
						|||
| 
								 | 
							
											get {return _highStore;}
							 | 
						|||
| 
								 | 
							
											 set {_highStore = 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,goodsType,part,full_max,bulkMax,bulkMax1,batchMax1,batchMax2,batchMax3,batchMax4,length,width,height,weight,validTermDays,bigCount,repType,ABC,lowStore,highStore,operater}
							 | 
						|||
| 
								 | 
							
								      #endregion
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
									
							 | 
						|||
| 
								 | 
							
									}
							 | 
						|||
| 
								 | 
							
									#endregion
							 | 
						|||
| 
								 | 
							
								}
							 |