using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcContainer.Models.MsOpCtnBsCardReAudit { [JsonObject] public class OpCtnBsCardReAudit : ModelObjectBillHead { public OpCtnBsCardReAudit() { TableName = "op_ctnbscard_reaudit"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get; set; } [ModelDB] public int BILLSTATUS { get; set; } public string BILLSTATUSREF { get; set; } [ModelDB] public string BLTYPE { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CTNNUM { get; set; } [ModelDB] public string BSNO { get; set; } public string CUSTNO { get; set; } public string MBLNO { get; set; } [ModelDB] public string PRICEGID { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string APPLICANT { get; set; } public string APPLICANTREF { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string APPLYTIME { get; set; } public string AUDITUSER { get; set; } public string AUDITUSERREF { get; set; } public string AUDITTIME { get; set; } public string REJECTTIME { get; set; } public string REJECTUSER { get; set; } public string REJECTUSERREF { get; set; } public string REJECTREASON { get; set; } public decimal TTLINUSDCOST { get; set; } public string RENTAMOUNT { get; set; } public decimal TTLCOST { get; set; } #endregion } [JsonObject] public class OpCtnBsCardReAuditDetail : ModelObjectBillBody { #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string LINKGID { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSCARDGID { get; set; } public string BSNO { get; set; } public string CTNNO { get; set; } #endregion public OpCtnBsCardReAuditDetail() { TableName = "op_ctnbscard_reaudit_detail"; } } [JsonObject] public class OpCtnBsCardReAuditPrice : ModelObjectBillBody { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _LINKGID = "*"; private int _ITEMSNO = 0; private string _FEENAME = ""; private string _UNIT = ""; private decimal _UNITPRICE = 0; private string _CURRENCY = ""; private decimal _EXCHANGERATE = 0; private string _GOODSNAME = ""; private string _INPUTBY; private string _INPUTBYREF; private string _INPUTTIME; private int _FEESTATUS = 0; private string _FEESTATUS_REF = string.Empty; private string _auditoperator = String.Empty; private string _auditname = String.Empty; private string _auditDate = null; private string _customerName = String.Empty; private string _CTNSTATUS; private string _VALIDETD; private string _REMARKS; private int _FREEDAY = 0; private decimal _CHANGERATE = 0; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string PRICEGID { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string LINKGID { get { return _LINKGID; } set { _LINKGID = value; } } [ModelDB] public int ITEMSNO { get { return _ITEMSNO; } set { _ITEMSNO = value; } } [ModelDB] public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } } [ModelDB] public string UNIT { get { return _UNIT; } set { _UNIT = value; } } [ModelDB] public decimal UNITPRICE { get { return _UNITPRICE; } set { _UNITPRICE = value; } } [ModelDB] public decimal EXCHANGERATE { get { return _EXCHANGERATE; } set { _EXCHANGERATE = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string CURRENCY { get { return _CURRENCY; } set { _CURRENCY = value; } } [ModelDB] public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } } public string INPUTBYREF { get { return _INPUTBYREF; } set { _INPUTBYREF = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } } [ModelDB] public int FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } public string FEESTATUS_REF { get { return _FEESTATUS_REF; } set { _FEESTATUS_REF = value; } } [ModelDB] public string CUSTOMERNAME { get { return _customerName; } set { _customerName = value; } } public string AUDITOPERATOR { get { return _auditoperator; } set { _auditoperator = value; } } public string AUDITDATE { get { return _auditDate; } set { _auditDate = value; } } public string AUDITNAME { get { return _auditname; } set { _auditname = value; } } [ModelDB] public string VALIDETD { get { return _VALIDETD; } set { _VALIDETD = value; } } [ModelDB] public string CTNSTATUS { get { return _CTNSTATUS; } set { _CTNSTATUS = value; } } private string _PRICECLASS = ""; [ModelDB] public string PRICECLASS { get { return _PRICECLASS; } set { _PRICECLASS = value; } } [ModelDB] public int FREEDAY { get { return _FREEDAY; } set { _FREEDAY = value; } } public bool ISSTOP { get; set; } public string BEGINDATE { get; set; } public string ENDDATE { get; set; } public string DATETYPE { get; set; } public string REASON { get; set; } public string APPLYTIME { get; set; } public string APPLYUSERREF { get; set; } public string MODIFYTIME { get; set; } public string MODIFYUSERREF { get; set; } public string MODIFYUSER { get; set; } public decimal AMOUNT { get; set; } public decimal QUANTITY { get; set; } #endregion public OpCtnBsCardReAuditPrice() { TableName = "op_ctnbscard_reaudit_price"; } } }