/// 
///WCF Data Object 
///BASIC CLASS FOR TABLE t_wmsOutBox
///By wm  
///on 04/06/2020
/// 
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using DeiNiu.wms.Data.Model;
namespace DeiNiu.Wcf 
{
	#region WcfWmsOutBox
	/// 
	/// This object represents the properties and methods of a WcfWmsOutBox.
    /// 
    [DataContract]
	public class WcfWmsOutBox  { 
                    internal int _id;   
                    
                    internal int _color;   
                    
                    internal int _partion;   
                 
                    internal int _load;   
                    internal decimal _volume;   
                    internal decimal _length;   
                    internal decimal _width;   
                    internal decimal _height;   
                    internal int _type;   
                    internal int _state;   
               
		public  WcfWmsOutBox () {
		}
		 
     
		#region Public Properties 
      
       [DataMember]
        public  int   id{
			get {return _id;}
			 set {_id = value;}  
		}  
        
      
   
       [DataMember]
        public  int   color{
			get {return _color;}
			 set {_color = value;}  
		}  
         
       [DataMember]
        public  int   partion{
			get {return _partion;}
			 set {_partion = value;}  
		}  
         
      
       [DataMember]
        public  int   load{
			get {return _load;}
			 set {_load = value;}  
		}  
        
      
       [DataMember]
        public  decimal   volume{
			get {return _volume;}
			 set {_volume = value;}  
		}  
        
      
       [DataMember]
        public  decimal   length{
			get {return _length;}
			 set {_length = value;}  
		}  
        
      
       [DataMember]
        public  decimal   width{
			get {return _width;}
			 set {_width = value;}  
		}  
        
      
       [DataMember]
        public  decimal   height{
			get {return _height;}
			 set {_height = value;}  
		}  
        
      
       [DataMember]
        public  int   type{
			get {return _type;}
			 set {_type = value;}  
		}  
        
      
       [DataMember]
        public  int   state{
			get {return _state;}
			 set {_state = value;}  
		}  
        
       
		 
		#endregion
             
	public  WmsOutBox getDbObject(){   
    
          WmsOutBox dbObj = new  WmsOutBox(id);     
          dbObj.ID = id;   
          dbObj.color = color;  
          dbObj.partion = partion;   
          dbObj.load = load;  
          dbObj.volume = volume;  
          dbObj.length = length;  
          dbObj.width = width;  
          dbObj.height = height;  
          dbObj.type = type;  
          dbObj.state = state;  
     
          
           return dbObj;
    
        }
     
	 
    
    	public  WcfWmsOutBox getWcfObject( WmsOutBox dbObj){   
    
          WcfWmsOutBox wcfObj = new  WcfWmsOutBox();     
          wcfObj.id = dbObj.ID;  
      
          wcfObj.color = dbObj.color;  
          
          wcfObj.partion = dbObj.partion;  
         
          wcfObj.load = dbObj.load;  
          wcfObj.volume = dbObj.volume;  
          wcfObj.length = dbObj.length;  
          wcfObj.width = dbObj.width;  
          wcfObj.height = dbObj.height;  
          wcfObj.type = dbObj.type;  
          wcfObj.state = dbObj.state;  
        
           return wcfObj;
    
        }
     
	}
    
    
    
	#endregion
}