using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWlInsure { [JsonObject] public class MsWlInsureBody : ModelObjectBillBody { #region private Fields private string _billNo = "*"; private decimal _serialNo = 0; private string _insureType = "0"; private string _insureType_Ref = "0"; private decimal _insureTotal = 0; private decimal _insureAmount = 0; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public decimal SerialNo { get { return _serialNo; } set { _serialNo = value; } } [ModelDB] public string InsureType { get { return _insureType; } set { _insureType = value; } } public string InsureType_Ref { get { return _insureType_Ref; } set { _insureType_Ref = value; } } [ModelDB] public decimal InsureTotal { get { return _insureTotal; } set { _insureTotal = value; } } [ModelDB] public decimal InsureAmount { get { return _insureAmount; } set { _insureAmount = value; } } #endregion public MsWlInsureBody() { TableName = "tMsWlInsureBody"; } } #region 参照部分 #endregion }