using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.Import.Models.Cargoinfo { [JsonObject] public class Import_Cargoinfo : ModelObjectBillHead { #region private Fields private decimal _ID = 0; private string _Code = String.Empty; private string _Name = String.Empty; private decimal _tax_zhg = 0; private decimal _tax_pt = 0; private decimal _tax_zz = 0; private decimal _tax_cl = 0; private string _JG = String.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)] public decimal ID { get { return _ID; } set { _ID = value; } } [ModelDB] public string Code { get { return _Code; } set { _Code = value; } } [ModelDB] public string Name { get { return _Name; } set { _Name = value; } } [ModelDB] public decimal Tax_Zhg { get { return _tax_zhg; } set { _tax_zhg = value; } } [ModelDB] public decimal Tax_Pt { get { return _tax_pt; } set { _tax_pt = value; } } [ModelDB] public decimal Tax_Zz { get { return _tax_zz; } set { _tax_zz = value; } } [ModelDB] public decimal Tax_Cl { get { return _tax_cl; } set { _tax_cl = value; } } [ModelDB] public string JG { get { return _JG; } set { _JG = value; } } #endregion public Import_Cargoinfo() { TableName = "Import_cargoinfo"; } override public string GetBillNoFieldName() { return "ID"; } override public string GetTimeMarkFieldName() { return ""; } } #region 参照部分 #endregion }