using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpBillYj { [JsonObject] public class MsOpBillYj : ModelObjectBillBody { #region 读写属性 public string BSNO { get; set; } public string YJSTATUS { get; set; } public string YJREMARK { get; set; } public string INPUTDATE { get; set; } public string INPUTBY { get; set; } public string FCOP { get; set; } public string AUDITDATE { get; set; } public string AUDITBY { get; set; } public string CUSTNAME { get; set; } public string CURRENCY { get; set; } public string CUSTOMERNAME2 { get; set; } public decimal AMOUNT { get; set; } public decimal AMOUNT2 { get; set; } public decimal ORDERAMOUNT { get; set; } public string REMARK { get; set; } #endregion public MsOpBillYj() { TableName = "op_bill"; } override public string GetBillNoFieldName() { return "BsNo"; } } public class MsSaleMonthProfit : ModelObjectBillBody { #region 读写属性 /// /// 揽货人 /// private string _SALE = "";//揽货人 public string SALE { get { return _SALE; } set { _SALE = value; } } /// /// 业务来源 /// private string _ETDMONTH = "";//业务来源 public string ETDMONTH { get { return _ETDMONTH; } set { _ETDMONTH = value; } } private decimal _TTLPROFIT = 0; public decimal TTLPROFIT { get { return _TTLPROFIT; } set { _TTLPROFIT = value; } } public decimal TiCheng { get; set; } public decimal ShiFa { get; set; } #endregion public MsSaleMonthProfit() { TableName = "op_bill"; } } public class CustomerRefModel : ModelObjectBillBody { #region 读写属性 public string CUSTOMERNAME { get; set; } private decimal _TICHENG = 0; public decimal TICHENG { get { return _TICHENG; } set { _TICHENG = value; } } private decimal _FENCHENG = 0; public decimal FENCHENG { get { return _FENCHENG; } set { _FENCHENG = value; } } #endregion public CustomerRefModel() { TableName = "op_bill"; } } [JsonObject] public class OpSaleTravelFee : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _ACCDATE;// private string _SALE;// private decimal _TRAVELFEEAMOUNT;// private string _INPUTDATE;// private string _INPUTBY; private string _INPUTBYREF; #endregion public OpSaleTravelFee() { TableName = "op_sale_travelfee"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } [ModelDB] public decimal TRAVELFEEAMOUNT { get { return _TRAVELFEEAMOUNT; } set { _TRAVELFEEAMOUNT = value; } } public string INPUTBYREF { get { return _INPUTBYREF; } set { _INPUTBYREF = value; } } [ModelDB] public string INPUTDATE { get { return _INPUTDATE; } set { _INPUTDATE = value; } } [ModelDB] public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } } #endregion } #region 参照部分 #endregion }