using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DSWeb.Models
{
    public class WmsRateEntity    //wms_rate仓储费率表
    {
        #region 私有成员
        private string _GID = Guid.NewGuid().ToString();//惟一编号	Varchar(100)
        private string _BSNO = "";//仓单明细号;//Varchar(100)
        private int _FEEGRADE = 0;//收费等级//Int
        private int _FEESCALE = 0;//收费区间	//int
        private decimal _FEEPRICE = 0;//收费单价//Numeric(18,2)
        private string _FEEUNIT = "";//收费单位//Varchar(10)
        private string _CREATEUSER = "";//创建人;//Varchar(36)
        private DateTime _CREATETIME = DateTime.Now;//创建时间;//Datetime
        private string _MODIFIEDUSER = "";//最后一次更新操作人;//Varchar(36)
        private DateTime _MODIFIEDTIME = DateTime.Now;//最后一次更新操作时间;//Datetime
        private string _REMARK = "";//备注;//Varchar(1024)
        private string _CUSTOMERNAME = "";//委托单位
        #endregion
        
        /// <summary>
        /// 构造函数
        /// </summary>
        public WmsRateEntity()
        {
        }

        #region 读写属性
        /// <summary>
        /// 惟一编号	Varchar(100)
        /// </summary>
        public string GID { get { return _GID; } set { _GID = value; } }//
        /// <summary>
        /// 仓单明细号 Varchar(100)
        /// </summary>
        public string BSNO { get { return _BSNO; } set { _BSNO = value; } }//
        /// <summary>
        /// 收费等级 int
        /// </summary>
        public int FEEGRADE { get { return _FEEGRADE; } set { _FEEGRADE = value; } }//
        /// <summary>
        /// 收费区间 int
        /// </summary>
        public int FEESCALE { get { return _FEESCALE; } set { _FEESCALE = value; } }//
        /// <summary>
        /// 收费单价 Numeric(18,2)
        /// </summary>
        public Decimal FEEPRICE { get { return _FEEPRICE; } set { _FEEPRICE = value; } }//
        /// <summary>
        /// 收费单位 Varchar(10)
        /// </summary>
        public string FEEUNIT { get { return _FEEUNIT; } set { _FEEUNIT = value; } }//
        /// <summary>
        /// 创建人 Varchar(36)
        /// </summary>
        public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } }//
        /// <summary>
        /// 创建时间 Datetime
        /// </summary>
        public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }//
        /// <summary>
        /// 最后一次更新操作人 Varchar(36)
        /// </summary>
        public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } }//
        /// <summary>
        /// 最后一次更新操作时间 Datetime
        /// </summary>
        public DateTime MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } }//
        /// <summary>
        /// 备注 Varchar(1024)
        /// </summary>
        public string REMARK { get { return _REMARK; } set { _REMARK = value; } }//
        /// <summary>
        /// 备注 Varchar(20)
        /// </summary>
        public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }//


        private DateTime _endbillingdate;
        /// <summary>
        /// 结束计费日期
        /// </summary>
        public DateTime ENDBILLINGDATE
        {
            get { return _endbillingdate; }
            set { _endbillingdate = value; }
        }

        private decimal _addprice = 0;
        /// <summary>
        /// 增值价
        /// </summary>
        public decimal ADDPRICE
        {
            get { return _addprice; }
            set { _addprice = value; }
        }

        private decimal _CAPPRICE = 0;
        /// <summary>
        /// 封顶价
        /// </summary>
        public decimal CAPPRICE
        {
            get { return _CAPPRICE; }
            set { _CAPPRICE = value; }
        }

        private string _feename = "";
        /// <summary>
        /// 费用中文名称
        /// </summary>
        public string FEENAME
        {
            get { return _feename; }
            set { _feename = value; }
        }

        private int _ratetype = 1;
        /// <summary>
        /// 费率类型,仓储费(1)默认值,入库费(2),出库费(3)
        /// </summary>
        public int RATETYPE
        {
            get { return _ratetype; }
            set { _ratetype = value; }
        }

        private int _FEETYPE = 1;
        /// <summary>
        /// 区别费用   收费类型(1)付费类型(2)
        /// </summary>
        public int FEETYPE
        {
            get { return _FEETYPE; }
            set { _FEETYPE = value; }
        }

        private bool _ISCHANGE = false;
        /// <summary>
        /// 是否是货权转移
        /// </summary>
        public bool ISCHANGE
        {
            get { return _ISCHANGE; }
            set { _ISCHANGE = value; }
        }  
        #endregion
    }
}