157 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			157 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								/// <summary>
							 | 
						|||
| 
								 | 
							
								///Data Object 
							 | 
						|||
| 
								 | 
							
								///BASIC CLASS FOR TABLE t_wmsOutSeeds_tmp
							 | 
						|||
| 
								 | 
							
								///By wm  
							 | 
						|||
| 
								 | 
							
								///on 08/28/2018
							 | 
						|||
| 
								 | 
							
								/// </summary>
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Data;
							 | 
						|||
| 
								 | 
							
								using DeiNiu.Data.BaseObject;
							 | 
						|||
| 
								 | 
							
								 
							 | 
						|||
| 
								 | 
							
								namespace  DeiNiu.wms.Data.Model
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
									#region WmsOutSeeds_tmp_base
							 | 
						|||
| 
								 | 
							
									/// <summary>
							 | 
						|||
| 
								 | 
							
									/// This object represents the properties and methods of a WmsOutSeeds_tmp_base.
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    [Serializable]
							 | 
						|||
| 
								 | 
							
									public class WmsOutSeeds_tmp_base  : BaseModel { 
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal int _deskId;   
							 | 
						|||
| 
								 | 
							
								                    internal string _seedsNo = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _custOrder = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal string _barcode = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal int _elabId;   
							 | 
						|||
| 
								 | 
							
								                    internal int _port;   
							 | 
						|||
| 
								 | 
							
								                    internal int _color;   
							 | 
						|||
| 
								 | 
							
								                    internal string _itemName = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal decimal _count;   
							 | 
						|||
| 
								 | 
							
								                    internal string _unit = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                    internal int _elabAddress;   
							 | 
						|||
| 
								 | 
							
								                    internal int _state;   
							 | 
						|||
| 
								 | 
							
								                    internal string _description = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
								                    internal string _createtime = String.Empty;   
							 | 
						|||
| 
								 | 
							
								                       
							 | 
						|||
| 
								 | 
							
										
							 | 
						|||
| 
								 | 
							
										public  WmsOutSeeds_tmp_base () {
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsOutSeeds_tmp_base (int id) {
							 | 
						|||
| 
								 | 
							
											_id=id;
							 | 
						|||
| 
								 | 
							
											getModel();
							 | 
						|||
| 
								 | 
							
										}
							 | 
						|||
| 
								 | 
							
										public  WmsOutSeeds_tmp_base(DataRow dr)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            getModel(dr);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          public WmsOutSeeds_tmp_base(System.Data.SqlClient.SqlConnection _Conn)
							 | 
						|||
| 
								 | 
							
								            : base(_Conn) 
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								          protected override void getImp()
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            model_imp = new WmsOutSeeds_tmp_base_Imp();  
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
										#region Public Properties 
							 | 
						|||
| 
								 | 
							
								        public  int   deskId{
							 | 
						|||
| 
								 | 
							
											get {return _deskId;}
							 | 
						|||
| 
								 | 
							
											 set {_deskId = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  seedsNo{
							 | 
						|||
| 
								 | 
							
											get {return _seedsNo;}
							 | 
						|||
| 
								 | 
							
											 set {_seedsNo = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  custOrder{
							 | 
						|||
| 
								 | 
							
											get {return _custOrder;}
							 | 
						|||
| 
								 | 
							
											 set {_custOrder = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  barcode{
							 | 
						|||
| 
								 | 
							
											get {return _barcode;}
							 | 
						|||
| 
								 | 
							
											 set {_barcode = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   elabId{
							 | 
						|||
| 
								 | 
							
											get {return _elabId;}
							 | 
						|||
| 
								 | 
							
											 set {_elabId = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   port{
							 | 
						|||
| 
								 | 
							
											get {return _port;}
							 | 
						|||
| 
								 | 
							
											 set {_port = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   color{
							 | 
						|||
| 
								 | 
							
											get {return _color;}
							 | 
						|||
| 
								 | 
							
											 set {_color = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  itemName{
							 | 
						|||
| 
								 | 
							
											get {return _itemName;}
							 | 
						|||
| 
								 | 
							
											 set {_itemName = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  decimal   count{
							 | 
						|||
| 
								 | 
							
											get {return _count;}
							 | 
						|||
| 
								 | 
							
											 set {_count = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  unit{
							 | 
						|||
| 
								 | 
							
											get {return _unit;}
							 | 
						|||
| 
								 | 
							
											 set {_unit = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   elabAddress{
							 | 
						|||
| 
								 | 
							
											get {return _elabAddress;}
							 | 
						|||
| 
								 | 
							
											 set {_elabAddress = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public  int   state{
							 | 
						|||
| 
								 | 
							
											get {return _state;}
							 | 
						|||
| 
								 | 
							
											 set {_state = value;}    
							 | 
						|||
| 
								 | 
							
										}  
							 | 
						|||
| 
								 | 
							
								        
							 | 
						|||
| 
								 | 
							
								        public string  description{
							 | 
						|||
| 
								 | 
							
											get {return _description;}
							 | 
						|||
| 
								 | 
							
											 set {_description = 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{deskId,seedsNo,custOrder,barcode,elabId,port,color,itemName,count,unit,elabAddress,state,description,operater}
							 | 
						|||
| 
								 | 
							
								      #endregion
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
									
							 | 
						|||
| 
								 | 
							
									}
							 | 
						|||
| 
								 | 
							
									#endregion
							 | 
						|||
| 
								 | 
							
								}
							 |