using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.Account.Models.Chfee_Recvapplication { [JsonObject] public class ChRecvapplication : ModelObjectBillHead { #region 私有成员 private string _gid = String.Empty;//主键唯一值 private string _billno = "*";//主键唯一值 private int _billstatus = 1; private string _billstatusref = "未提交"; private string _customername;// private string _invoicetitle;// private int _settletype = 1; private string _settletyperef = ""; private string _recvtime = DateTime.Now.ToString("yyyy-MM-dd"); private string _curr = ""; private decimal _amountrmb = 0; private decimal _rate = 0; private decimal _amountusd = 0; private decimal _settlermb = 0; private decimal _settleusd = 0; private decimal _settlerate = 0; private string _applicant;// private string _applicantname;// private DateTime? _applytime = null; private DateTime? _entertime = null; private string _settleuser;// private DateTime? _settletime = null; private string _audiuser;// private DateTime? _auditime = null; private string _remark;// private decimal _preamountrmb = 0; private decimal _preamountusd = 0; private decimal _balamountrmb = 0; private decimal _balamountusd = 0; private string _account = ""; private string _accountref = ""; private string _companyid; private string _invoicenumremark;//备注 private string _SALECORPID = ""; #endregion public ChRecvapplication() { TableName = "ch_fee_recvapplication"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } [ModelDB] public string BILLNO { get { return _billno; } set { _billno = value; } } public int BILLSTATUS { get { return _billstatus; } set { _billstatus = value; } } public string BILLSTATUSREF { get { return _billstatusref; } set { _billstatusref = value; } } [ModelDB] public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } [ModelDB] public string CURR { get { return _curr; } set { _curr = value; } } [ModelDB] public string INVOICETITLE { get { return _invoicetitle; } set { _invoicetitle = value; } } [ModelDB] public int SETTLETYPE { get { return _settletype; } set { _settletype = value; } } public string SETTLETYPEREF { get { return _settletyperef; } set { _settletyperef = value; } } [ModelDB] public int SETTLEMODE { get; set; } [ModelDB] public string RECVTIME { get { return _recvtime; } set { _recvtime = value; } } public decimal AMOUNTRMB { get { return _amountrmb; } set { _amountrmb = value; } } public decimal RATE { get { return _rate; } set { _rate = value; } } public decimal AMOUNTUSD { get { return _amountusd; } set { _amountusd = value; } } public decimal SETTLERMB { get { return _settlermb; } set { _settlermb = value; } } public decimal SETTLEUSD { get { return _settleusd; } set { _settleusd = value; } } public decimal SETTLERATE { get { return _settlerate; } set { _settlerate = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string APPLICANT { get { return _applicant; } set { _applicant = value; } } public string APPLICANTNAME { get { return _applicantname; } set { _applicantname = value; } } [ModelDB] public DateTime? APPLYTIME { get { return _applytime; } set { _applytime = value; } } [ModelDB] public DateTime? ENTERTIME { get { return _entertime; } set { _entertime = value; } } [ModelDB] public string ACCOUNT { get { return _account; } set { _account = value; } } public string ACCOUNTREF { get { return _accountref; } set { _accountref = value; } } public string SETTLEUSER { get { return _settleuser; } set { _settleuser = value; } } public DateTime? SETTLETIME { get { return _settletime; } set { _settletime = value; } } public string AUDITUSER { get { return _audiuser; } set { _audiuser = value; } } public DateTime? AUDITTIME { get { return _auditime; } set { _auditime = value; } } [ModelDB] public decimal PREAMOUNTRMB { get { return _preamountrmb; } set { _preamountrmb = value; } } [ModelDB] public decimal PREAMOUNTUSD { get { return _preamountusd; } set { _preamountusd = value; } } public decimal BALAMOUNTRMB { get { return _balamountrmb; } set { _balamountrmb = value; } } public decimal BALAMOUNTUSD { get { return _balamountusd; } set { _balamountusd = value; } } [ModelDB] public string COMPANYID { get { return _companyid; } set { _companyid = value; } } /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } [ModelDB] public string INVOICENUMREMARK { get { return _invoicenumremark; } set { _invoicenumremark = value; } } public string SALECORP { set; get; } [ModelDB] public string SALECORPID { get { return _SALECORPID; } set { _SALECORPID = value; } } #endregion public Int32 PRINTCOUNT { get; set; } } }