using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwVouchersGlSettlementEntity { [JsonObject] public class MsCwVouchersGlSettlementEntity : ModelObjectBillHead { #region 私有成员 private string _gid = String.Empty;//主键唯一值 private string _billno = "*";//主键唯一值 private DateTime? _billdate = null; private int _settlemode = 1; private string _settlemoderef = ""; private string _customername;// private int _settletype = 0; private string _settletyperef = ""; private string _curr = ""; private decimal _amount = 0; private decimal _doamount = 0; private string _account = ""; private string _accountref = ""; private decimal _amountrmb = 0; private string _accountrmb = ""; private decimal _rate = 0; private decimal _amountusd = 0; private string _accountusd = ""; private int _billtype = 1; private string _BILLTYPENAME = ""; private string _voucherno = ""; private string _settleuser = ""; private string _settleuserref = ""; private string _settletime =""; private string _audituser = ""; private DateTime? _audittime = null; private bool _isexport; private string _FINANCIALVOUCHER; private int _billstatus = 2; private string _billstatusref ="未锁定"; private string _remark;// private string _companyid; private string _vouno;// private string _custbank; private string _custaccount; private string _createuser = ""; private string _createuserref = ""; private string _createtime = ""; private string _account_currency =""; private decimal _account_rate = 1; private decimal _account_money = 0; private string _prepay_currency = ""; private decimal _prepay_rate = 1; private decimal _prepay_money = 0; private decimal _oldprepay_money = 0; private string _ahsr_currency = ""; private decimal _ahsr_rate = 1; private decimal _ahsr_money = 0; private string _FINANCIAL_currency = ""; private decimal _FINANCIAL_rate = 1; private decimal _FINANCIAL_money = 0; private string _ADVANCE_currency = ""; private decimal _ADVANCE_rate = 1; private decimal _ADVANCE_money = 0; private decimal _noinvoice = 0; #endregion public string SALECORP { get; set; } #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; } } [ModelDB] public DateTime? BILLDATE { get { return _billdate; } set { _billdate = value; } } [ModelDB] public int SETTLEMODE { get { return _settlemode; } set { _settlemode = value; } } public string SETTLEMODEREF { get { return _settlemoderef; } set { _settlemoderef = value; } } [ModelDB] public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } [ModelDB] public int SETTLETYPE { get { return _settletype; } set { _settletype = value; } } public string SETTLETYPEREF { get { return _settletyperef; } set { _settletyperef = value; } } [ModelDB] public string CURR { get { return _curr; } set { _curr = value; } } public decimal AMOUNTRMB { get { return _amountrmb; } set { _amountrmb = value; } } public decimal AMOUNT { get { return _amount; } set { _amount = value; } } public decimal DOAMOUNT { get { return _doamount; } set { _doamount = value; } } [ModelDB] public string ACCOUNTRMB { get { return _accountrmb; } set { _accountrmb = value; } } public string ACCOUNT { get { return _account; } set { _account = value; } } public string ACCOUNTREF { get { return _accountref; } set { _accountref = value; } } [ModelDB] public decimal RATE { get { return _rate; } set { _rate = value; } } public decimal AMOUNTUSD { get { return _amountusd; } set { _amountusd = value; } } [ModelDB] public string ACCOUNTUSD { get { return _accountusd; } set { _accountusd = value; } } [ModelDB] public int BILLTYPE { get { return _billtype; } set { _billtype = value; } } public string BILLTYPENAME { get { return _BILLTYPENAME; } set { _BILLTYPENAME = value; } } [ModelDB] public string VOUCHERNO { get { return _voucherno; } set { _voucherno = value; } } [ModelDB] public string SETTLEUSER { get { return _settleuser; } set { _settleuser = value; } } public string SETTLEUSERREF { get { return _settleuserref; } set { _settleuserref = value; } } [ModelDB] public string SETTLETIME { get { return _settletime; } set { _settletime = value; } } public string AUDITUSER { get { return _audituser; } set { _audituser = value; } } public DateTime? AUDITTIME { get { return _audittime; } set { _audittime = value; } } [ModelDB] public int BILLSTATUS { get { return _billstatus; } set { _billstatus = value; } } public string BILLSTATUSREF { get { return _billstatusref; } set { _billstatusref = value; } } public bool ISEXPORT { get { return _isexport; } set { _isexport = value; } } [ModelDB] public string FINANCIALVOUCHER { get { return _FINANCIALVOUCHER; } set { _FINANCIALVOUCHER = value; } } [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } [ModelDB] public string COMPANYID { get { return _companyid; } set { _companyid = value; } } [ModelDB] public string CUSTBANK { get { return _custbank; } set { _custbank = value; } } [ModelDB] public string CUSTACCOUNT { get { return _custaccount; } set { _custaccount = value; } } public string VOUNO { get { return _vouno; } set { _vouno = value; } } [ModelDB] public string ACCOUNTS_CURRENCY { get { return _account_currency; } set { _account_currency = value; } } [ModelDB] public decimal ACCOUNTS_RATE { get { return _account_rate; } set { _account_rate = value; } } [ModelDB] public decimal ACCOUNTS_MONEY { get { return _account_money; } set { _account_money = value; } } [ModelDB] public string PREPAY_CURRENCY { get { return _prepay_currency; } set { _prepay_currency = value; } } [ModelDB] public decimal PREPAY_RATE { get { return _prepay_rate; } set { _prepay_rate = value; } } [ModelDB] public decimal PREPAY_MONEY { get { return _prepay_money; } set { _prepay_money = value; } } public decimal OLDPREPAY_MONEY { get { return _oldprepay_money; } set { _oldprepay_money = value; } } [ModelDB] public string AHSR_CURRENCY { get { return _ahsr_currency; } set { _ahsr_currency = value; } } [ModelDB] public decimal AHSR_RATE { get { return _ahsr_rate; } set { _ahsr_rate = value; } } [ModelDB] public decimal AHSR_MONEY { get { return _ahsr_money; } set { _ahsr_money = value; } } [ModelDB] public string FINANCIAL_CURRENCY { get { return _FINANCIAL_currency; } set { _FINANCIAL_currency = value; } } [ModelDB] public decimal FINANCIAL_RATE { get { return _FINANCIAL_rate; } set { _FINANCIAL_rate = value; } } [ModelDB] public decimal FINANCIAL_MONEY { get { return _FINANCIAL_money; } set { _FINANCIAL_money = value; } } [ModelDB] public string ADVANCE_CURRENCY { get { return _ADVANCE_currency; } set { _ADVANCE_currency = value; } } [ModelDB] public decimal ADVANCE_RATE { get { return _ADVANCE_rate; } set { _ADVANCE_rate = value; } } [ModelDB] public decimal ADVANCE_MONEY { get { return _ADVANCE_money; } set { _ADVANCE_money = value; } } public decimal NOINVOICE { get { return _noinvoice; } set { _noinvoice = value; } } [ModelDB] public string CREATEUSER { get { return _createuser; } set { _createuser = value; } } public string CREATEUSERREF { get { return _createuserref; } set { _createuserref = value; } } [ModelDB] public string CREATETIME { get { return _createtime; } set { _createtime = value; } } #endregion public MsCwVouchersGlSettlementEntity() { TableName = "ch_fee_Settlement"; } override public string GetBillNoFieldName() { return "GID"; } } }