using System; using System.Data; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsFeeTemplate { [JsonObject] public class FeeTemplateDetail : ModelObjectBase { #region 私有成员 private string _gid;//主键唯一值 private string _template_id;//费用模板GID(主表) private string _fee_code;//费用代码 private string _fee_name;//费用名称 private string _customer_name;//结算单位 private int _client;//客户名称 private string _customer_type; private string _unit;//标准 private string _currency;//币别 private decimal _unit_price;//单价 private string _remark;//备注 private int _sort=0;//排序值 private string _create_user;//创建人 private DateTime _create_time;//创建时间 private string _modified_user;//最后一次更新操作人GID private DateTime _modified_time;//最后一次更新操作时间 private int _fee_type;//费用类型 1-应收 2-应付 private decimal _exchange_rate;//汇率 private decimal _taxrate;//税率 private decimal _tax;//税额 private bool _ISCTN; private string _ISCTNREF;//备注 private string _FEEFRT;//备注 private bool _ISINVOICE = false; private bool _ISADVANCEDPAY = false; #endregion public FeeTemplateDetail() { TableName = "code_fee_templatedetail"; } #region 读写属性 /// /// 主键唯一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 费用模板GID(主表) /// public string TemplateID { get { return _template_id; } set { _template_id = value; } } /// /// 费用代码 /// public string FeeCode { get { return _fee_code; } set { _fee_code = value; } } /// /// 费用名称 /// public string FeeName { get { return _fee_name; } set { _fee_name = value; } } /// /// 结算单位 /// public string CustomerName { get { return _customer_name; } set { _customer_name = value; } } /// /// 客户名称 /// public int Client { get { return _client; } set { _client = value; } } public string CustomerType { get { return _customer_type; } set { _customer_type = value; } } /// /// 标准 /// public string Unit { get { return _unit; } set { _unit = value; } } /// /// 币别 /// public string Currency { get { return _currency; } set { _currency = value; } } /// /// 单价 /// public Decimal UnitPrice { get { return _unit_price; } set { _unit_price = value; } } public Decimal TaxUnitPrice { get; set; } /// /// 备注 /// public string Remark { get { return _remark; } set { _remark = value; } } public string FEEFRT { get { return _FEEFRT; } set { _FEEFRT = value; } } /// /// 排序值 /// public int Sort { get { return _sort; } set { _sort = value; } } /// /// 创建人 /// public string CreateUser { get { return _create_user; } set { _create_user = value; } } /// /// 创建时间 /// public DateTime CreateTime { get { return _create_time; } set { _create_time = value; } } /// /// 最后一次更新操作人GID /// public string ModifiedUser { get { return _modified_user; } set { _modified_user = value; } } /// /// 最后一次更新操作时间 /// public DateTime ModifiedTime { get { return _modified_time; } set { _modified_time = value; } } /// /// 费用类型 1-应收 2-应付 /// public int FeeType { get { return _fee_type; } set { _fee_type = value; } } /// /// 汇率 /// public decimal ExchangeRate { get { return _exchange_rate; } set { _exchange_rate = value; } } public decimal TaxRate { get { return _taxrate; } set { _taxrate = value; } } public decimal AccTaxRate { get; set; } public decimal Tax { get { return _tax; } set { _tax= value; } } public bool ISCTN { get { return _ISCTN; } set { _ISCTN = value; } } public string ISCTNREF { get { return _ISCTNREF; } set { _ISCTNREF = value; } } public bool ISINVOICE { get { return _ISINVOICE; } set { _ISINVOICE = value; } } public bool ISADVANCEDPAY { get { return _ISADVANCEDPAY; } set { _ISADVANCEDPAY = value; } } public string SALECORP { set; get; } public string FEEDESCRIPTION { set; get; } public string FEEGROUP { set; get; } #endregion } }