|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Account.Models.Chfee_Settlement
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChSettlement : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid = String.Empty;//主键唯一值
|
|
|
|
|
private string _billno = "*";//主键唯一值
|
|
|
|
|
private string _hxbillno = "";//主键唯一值
|
|
|
|
|
private DateTime? _billdate = null;
|
|
|
|
|
private int _settlemode = 0;
|
|
|
|
|
private string _settlemoderef = "";
|
|
|
|
|
private string _customername;//
|
|
|
|
|
private int _settletype = 1;
|
|
|
|
|
private string _settletyperef = "";
|
|
|
|
|
private string _curr = "RMB";
|
|
|
|
|
private decimal _amount = 0;
|
|
|
|
|
private decimal _doamount = 0;
|
|
|
|
|
private decimal _stlamount = 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 decimal _amountot = 0;
|
|
|
|
|
private int _billtype = 1;
|
|
|
|
|
private string _BILLTYPEREF = "";
|
|
|
|
|
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 _stlcategroy="";//
|
|
|
|
|
|
|
|
|
|
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 string _noinvoice ="";
|
|
|
|
|
private string _feeamount = "";
|
|
|
|
|
private string _paybill = "";
|
|
|
|
|
private string _REMITTANCE = "";
|
|
|
|
|
private string _REMITTANCEAMOUNT = "0";
|
|
|
|
|
private string _BUYRATE = "0";
|
|
|
|
|
private string _SELLRATE = "0";
|
|
|
|
|
private string _SETTLRATE = "0";
|
|
|
|
|
private string _SETTLENO = "";
|
|
|
|
|
|
|
|
|
|
private string _BS_CUSTOMERNAME = string.Empty;
|
|
|
|
|
|
|
|
|
|
private string _SALECORPID = string.Empty;
|
|
|
|
|
private string _SALECORP = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ChSettlement()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_Settlement";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetBillNoFieldName ( )
|
|
|
|
|
{
|
|
|
|
|
return "BILLNO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetTimeMarkFieldName ( )
|
|
|
|
|
{
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string HXBILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _hxbillno; }
|
|
|
|
|
set { _hxbillno = 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 SETTLENO
|
|
|
|
|
{
|
|
|
|
|
get { return _SETTLENO; }
|
|
|
|
|
set { _SETTLENO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CURR
|
|
|
|
|
{
|
|
|
|
|
get { return _curr; }
|
|
|
|
|
set { _curr = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal STLAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _stlamount; }
|
|
|
|
|
set { _stlamount = 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; }
|
|
|
|
|
}
|
|
|
|
|
public string BANKCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _rate; }
|
|
|
|
|
set { _rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal AMOUNTUSD
|
|
|
|
|
{
|
|
|
|
|
get { return _amountusd; }
|
|
|
|
|
set { _amountusd = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal AMOUNTOT
|
|
|
|
|
{
|
|
|
|
|
get { return _amountot; }
|
|
|
|
|
set { _amountot = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCOUNTUSD
|
|
|
|
|
{
|
|
|
|
|
get { return _accountusd; }
|
|
|
|
|
set { _accountusd = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int BILLTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _billtype; }
|
|
|
|
|
set { _billtype = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BILLTYPEREF
|
|
|
|
|
{
|
|
|
|
|
get { return _BILLTYPEREF; }
|
|
|
|
|
set { _BILLTYPEREF = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string AUDITUSERREF { get; set; }
|
|
|
|
|
public string DELETETIME { get; set; }
|
|
|
|
|
public string DELETEUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
[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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool ISNOTVOU { get; set; }
|
|
|
|
|
|
|
|
|
|
string _ISCHEQUE = "否";
|
|
|
|
|
public string ISCHEQUE { get { return _ISCHEQUE; } set { _ISCHEQUE = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FINANCIALVOUCHER
|
|
|
|
|
{
|
|
|
|
|
get { return _FINANCIALVOUCHER; }
|
|
|
|
|
set { _FINANCIALVOUCHER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STLCATEGROY
|
|
|
|
|
{
|
|
|
|
|
get { return _stlcategroy; }
|
|
|
|
|
set { _stlcategroy = 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; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
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 string 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BS_CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _BS_CUSTOMERNAME; }
|
|
|
|
|
set { _BS_CUSTOMERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string FEEAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _feeamount; }
|
|
|
|
|
set { _feeamount = value; }
|
|
|
|
|
}
|
|
|
|
|
public string PAYBILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _paybill; }
|
|
|
|
|
set { _paybill = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMITTANCE
|
|
|
|
|
{
|
|
|
|
|
get { return _REMITTANCE; }
|
|
|
|
|
set { _REMITTANCE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string REMITTANCEAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _REMITTANCEAMOUNT; }
|
|
|
|
|
set { _REMITTANCEAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BUYRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _BUYRATE; }
|
|
|
|
|
set { _BUYRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
|
|
|
|
|
public string SELLRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _SELLRATE; }
|
|
|
|
|
set { _SELLRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
|
|
|
|
|
public string SETTLRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _SETTLRATE; }
|
|
|
|
|
set { _SETTLRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SALECORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _SALECORPID; }
|
|
|
|
|
set { _SALECORPID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string SALECORP
|
|
|
|
|
{
|
|
|
|
|
get { return _SALECORP; }
|
|
|
|
|
set { _SALECORP = value; }
|
|
|
|
|
}
|
|
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
public string SHENNO { get; set; }
|
|
|
|
|
public string INVSHENNO { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICENO { get; set; }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICEDATE { get; set; }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICEAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//汇兑损益明细
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChSettlement_remittance : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid = String.Empty;//主键唯一值
|
|
|
|
|
private string _billno = "*";
|
|
|
|
|
private string _bsno = "";
|
|
|
|
|
private string _mblno = "";
|
|
|
|
|
private string _hblno = "";
|
|
|
|
|
private string _custno = "";
|
|
|
|
|
private string _customername;//
|
|
|
|
|
private string _feeid = "";
|
|
|
|
|
private string _feename = "";
|
|
|
|
|
private string _currency = "";
|
|
|
|
|
private string _sale = "";
|
|
|
|
|
private decimal _amount = 0;
|
|
|
|
|
private int _feetype = 0;
|
|
|
|
|
private string _feetyperef = "";
|
|
|
|
|
private string _remark;//
|
|
|
|
|
private string _REMITTANCE = "";
|
|
|
|
|
private string _REMITTANCEAMOUNT = "0";
|
|
|
|
|
private string _BUYRATE = "0";
|
|
|
|
|
private string _SELLRATE = "0";
|
|
|
|
|
private string _SETTLRATE = "0";
|
|
|
|
|
private string _settletime = "";
|
|
|
|
|
private decimal _ttlamount = 0;
|
|
|
|
|
private string _custname;//
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ChSettlement_remittance()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_settlement_remittance";
|
|
|
|
|
}
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BILLNO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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 string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _bsno; }
|
|
|
|
|
set { _bsno = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MBLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _mblno; }
|
|
|
|
|
set { _mblno = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HBLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _hblno; }
|
|
|
|
|
set { _hblno = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _custno; }
|
|
|
|
|
set { _custno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SALE
|
|
|
|
|
{
|
|
|
|
|
get { return _sale; }
|
|
|
|
|
set { _sale = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FEEID
|
|
|
|
|
{
|
|
|
|
|
get { return _feeid; }
|
|
|
|
|
set { _feeid = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FEENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _feename; }
|
|
|
|
|
set { _feename = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _currency; }
|
|
|
|
|
set { _currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _amount; }
|
|
|
|
|
set { _amount = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int FEETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _feetype; }
|
|
|
|
|
set { _feetype = value; }
|
|
|
|
|
}
|
|
|
|
|
public string FEETYPEREF
|
|
|
|
|
{
|
|
|
|
|
get { return _feetyperef; }
|
|
|
|
|
set { _feetyperef = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMITTANCE
|
|
|
|
|
{
|
|
|
|
|
get { return _REMITTANCE; }
|
|
|
|
|
set { _REMITTANCE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMITTANCEAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _REMITTANCEAMOUNT; }
|
|
|
|
|
set { _REMITTANCEAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BUYRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _BUYRATE; }
|
|
|
|
|
set { _BUYRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SELLRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _SELLRATE; }
|
|
|
|
|
set { _SELLRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SETTLRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _SETTLRATE; }
|
|
|
|
|
set { _SETTLRATE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string SETTLETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _settletime; }
|
|
|
|
|
set { _settletime = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal TTLAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _ttlamount; }
|
|
|
|
|
set { _ttlamount = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CUSTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _custname; }
|
|
|
|
|
set { _custname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//购汇用RMB使用情况记录
|
|
|
|
|
//用于进口贸易的外币付费结算中的购汇结算
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class PAYRMBmb : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _billno = "*";//主键唯一值
|
|
|
|
|
private string _Amount = "0.0";
|
|
|
|
|
private string _SXF = "0.0";
|
|
|
|
|
private string _DHF = "0.0";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public PAYRMBmb ( )
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_Settlement_PAYRMB";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _billno; }
|
|
|
|
|
set { _billno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string Amount
|
|
|
|
|
{
|
|
|
|
|
get { return _Amount; }
|
|
|
|
|
set { _Amount = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SXF
|
|
|
|
|
{
|
|
|
|
|
get { return _SXF; }
|
|
|
|
|
set { _SXF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DHF
|
|
|
|
|
{
|
|
|
|
|
get { return _DHF; }
|
|
|
|
|
set { _DHF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//用于在后台计算时放置不同业务的业务编号,均摊所得的手续费,均摊所得的电汇费。不保存
|
|
|
|
|
public class PAYSXDHmb : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _BSNO = "";
|
|
|
|
|
private string _BILLNO = "";
|
|
|
|
|
private decimal _Amount = 0;
|
|
|
|
|
private decimal _SXF = 0;
|
|
|
|
|
private decimal _DHF = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public PAYSXDHmb ( )
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_Settlement_PAYRMB";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BILLNO; }
|
|
|
|
|
set { _BILLNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal Amount
|
|
|
|
|
{
|
|
|
|
|
get { return _Amount; }
|
|
|
|
|
set { _Amount = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal SXF
|
|
|
|
|
{
|
|
|
|
|
get { return _SXF; }
|
|
|
|
|
set { _SXF = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal DHF
|
|
|
|
|
{
|
|
|
|
|
get { return _DHF; }
|
|
|
|
|
set { _DHF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|