|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Import.Models.Finance
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class Financemb : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _F_NO = string.Empty;
|
|
|
|
|
private string _F_STATUS ="新建融资";
|
|
|
|
|
private string _MAINNO = string.Empty;
|
|
|
|
|
private string _FINANCE_BANK = string.Empty;
|
|
|
|
|
private decimal _F_AMOUNT =0;
|
|
|
|
|
private string _F_CURRENCY ="";
|
|
|
|
|
private string _CUSTOMER = string.Empty;
|
|
|
|
|
private string _CUSTOMER_REF = string.Empty;
|
|
|
|
|
private string _REMARK = string.Empty;
|
|
|
|
|
private string _OP = string.Empty;
|
|
|
|
|
private string _OPREF = string.Empty;
|
|
|
|
|
private string _ENTERDATE = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
private string _STARTDATE = string.Empty;
|
|
|
|
|
private string _ENDDATE = string.Empty;
|
|
|
|
|
private string _BANKENDDATE = string.Empty;
|
|
|
|
|
private int _DAYS =0;
|
|
|
|
|
private string _BANK_INTEREST_RATE = string.Empty;
|
|
|
|
|
private string _BANK_INTEREST = string.Empty;
|
|
|
|
|
private string _CUST_INTEREST_RATE = string.Empty;
|
|
|
|
|
private string _CUST_INTEREST = string.Empty;
|
|
|
|
|
private string _BANK_EXCHANGERATE = string.Empty;
|
|
|
|
|
private string _CUST_EXCHANGERATE = string.Empty;
|
|
|
|
|
private decimal _CUSTSTLAMOUNT = 0;
|
|
|
|
|
private decimal _BANKSTLAMOUNT = 0;
|
|
|
|
|
private decimal _CUSTBALAMOUNT = 0;
|
|
|
|
|
private decimal _BANKBALAMOUNT = 0;
|
|
|
|
|
|
|
|
|
|
private string _CUSTSTLSTATUS = string.Empty;
|
|
|
|
|
private string _BANKNAME = string.Empty;
|
|
|
|
|
private string _CORPID = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string F_NO
|
|
|
|
|
{
|
|
|
|
|
get { return _F_NO; }
|
|
|
|
|
set { _F_NO = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MAINNO
|
|
|
|
|
{
|
|
|
|
|
get { return _MAINNO; }
|
|
|
|
|
set { _MAINNO = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_STATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _F_STATUS; }
|
|
|
|
|
set { _F_STATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _F_CURRENCY; }
|
|
|
|
|
set { _F_CURRENCY = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 还款金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal F_AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _F_AMOUNT; }
|
|
|
|
|
set { _F_AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal F_Rate
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal F_RMB
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMER
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMER; }
|
|
|
|
|
set { _CUSTOMER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARK; }
|
|
|
|
|
set { _REMARK = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _OP; }
|
|
|
|
|
set { _OP = value; }
|
|
|
|
|
}
|
|
|
|
|
public string OPREF
|
|
|
|
|
{
|
|
|
|
|
get { return _OPREF; }
|
|
|
|
|
set { _OPREF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENTERDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ENTERDATE; }
|
|
|
|
|
set { _ENTERDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _STARTDATE; }
|
|
|
|
|
set { _STARTDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENDDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ENDDATE; }
|
|
|
|
|
set { _ENDDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BANKENDDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKENDDATE; }
|
|
|
|
|
set { _BANKENDDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int DAYS
|
|
|
|
|
{
|
|
|
|
|
get { return _DAYS; }
|
|
|
|
|
set { _DAYS = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _CORPID; }
|
|
|
|
|
set { _CORPID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户还款金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CUSTSTLAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTSTLAMOUNT; }
|
|
|
|
|
set { _CUSTSTLAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal CUSTBALAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTBALAMOUNT; }
|
|
|
|
|
set { _CUSTBALAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal BANKSTLAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKSTLAMOUNT; }
|
|
|
|
|
set { _BANKSTLAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal BANKBALAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKBALAMOUNT; }
|
|
|
|
|
set { _BANKBALAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string FINANCE_BANK
|
|
|
|
|
{
|
|
|
|
|
get { return _FINANCE_BANK; }
|
|
|
|
|
set { _FINANCE_BANK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BANK_INTEREST_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _BANK_INTEREST_RATE; }
|
|
|
|
|
set { _BANK_INTEREST_RATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BANK_INTEREST
|
|
|
|
|
{
|
|
|
|
|
get { return _BANK_INTEREST; }
|
|
|
|
|
set { _BANK_INTEREST = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CUST_INTEREST_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _CUST_INTEREST_RATE; }
|
|
|
|
|
set { _CUST_INTEREST_RATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CUST_INTEREST
|
|
|
|
|
{
|
|
|
|
|
get { return _CUST_INTEREST; }
|
|
|
|
|
set { _CUST_INTEREST = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BANK_EXCHANGERATE
|
|
|
|
|
{
|
|
|
|
|
get { return _BANK_EXCHANGERATE; }
|
|
|
|
|
set { _BANK_EXCHANGERATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CUST_EXCHANGERATE
|
|
|
|
|
{
|
|
|
|
|
get { return _CUST_EXCHANGERATE; }
|
|
|
|
|
set { _CUST_EXCHANGERATE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CUSTSTLSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTSTLSTATUS; }
|
|
|
|
|
set { _CUSTSTLSTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BANKNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKNAME; }
|
|
|
|
|
set { _BANKNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Financemb()
|
|
|
|
|
{
|
|
|
|
|
// TableName = "tMsWlPcHead";
|
|
|
|
|
TableName = "Import_Finance";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "F_NO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class FinanceBodymb : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
|
|
|
|
|
private string _F_NO = string.Empty;
|
|
|
|
|
private decimal _F_AMOUNT =0;
|
|
|
|
|
private string _F_CURRENCY ="USD";
|
|
|
|
|
private string _CUSTOMER = string.Empty;
|
|
|
|
|
private string _CUSTOMER_REF = string.Empty;
|
|
|
|
|
private string _BANKID = string.Empty;
|
|
|
|
|
private string _REMARK = string.Empty;
|
|
|
|
|
private string _ENDDATE = DateTime.Now.ToString("yyyy-MM-dd");
|
|
|
|
|
private int _DAYS = 0;
|
|
|
|
|
private decimal _INTEREST_RATE =0;
|
|
|
|
|
private decimal _Y_INTEREST_RATE = 0;
|
|
|
|
|
private decimal _INTEREST = 0;
|
|
|
|
|
private decimal _INTERESTUSD = 0;
|
|
|
|
|
private decimal _EXCHANGERATE = 0;
|
|
|
|
|
private string _ISFEE = string.Empty;
|
|
|
|
|
private string _ISFEEREF ="未锁定";
|
|
|
|
|
private string _F_TYPE = string.Empty;
|
|
|
|
|
private decimal _RMBAMOUNT = 0;
|
|
|
|
|
private decimal _HANDFEE = 0;
|
|
|
|
|
private decimal _TELXFEE = 0;
|
|
|
|
|
private decimal _OTFEE = 0;
|
|
|
|
|
private decimal _TTLAMOUNTRMB = 0;
|
|
|
|
|
private decimal _FINEFEE = 0;
|
|
|
|
|
private decimal _RMBVALUE = 0;
|
|
|
|
|
private string _OP = string.Empty;
|
|
|
|
|
private string _OPREF = string.Empty;
|
|
|
|
|
private string _ENTERDATE = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
private string _CUSTNO = string.Empty;
|
|
|
|
|
private string _BSNO = string.Empty;
|
|
|
|
|
private decimal _D_INTEREST_RATE = 0;
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_NO
|
|
|
|
|
{
|
|
|
|
|
get { return _F_NO; }
|
|
|
|
|
set { _F_NO = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _F_CURRENCY; }
|
|
|
|
|
set { _F_CURRENCY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal F_AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _F_AMOUNT; }
|
|
|
|
|
set { _F_AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMER
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMER; }
|
|
|
|
|
set { _CUSTOMER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BANKID
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKID; }
|
|
|
|
|
set { _BANKID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENDDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ENDDATE; }
|
|
|
|
|
set { _ENDDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int DAYS
|
|
|
|
|
{
|
|
|
|
|
get { return _DAYS; }
|
|
|
|
|
set { _DAYS = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal D_INTEREST_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _D_INTEREST_RATE; }
|
|
|
|
|
set { _D_INTEREST_RATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal INTEREST_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _INTEREST_RATE; }
|
|
|
|
|
set { _INTEREST_RATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal Y_INTEREST_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _Y_INTEREST_RATE; }
|
|
|
|
|
set { _Y_INTEREST_RATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal INTEREST
|
|
|
|
|
{
|
|
|
|
|
get { return _INTEREST; }
|
|
|
|
|
set { _INTEREST = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal INTERESTUSD
|
|
|
|
|
{
|
|
|
|
|
get { return _INTERESTUSD; }
|
|
|
|
|
set { _INTERESTUSD = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal EXCHANGERATE
|
|
|
|
|
{
|
|
|
|
|
get { return _EXCHANGERATE; }
|
|
|
|
|
set { _EXCHANGERATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ISFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISFEE; }
|
|
|
|
|
set { _ISFEE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string ISFEEREF
|
|
|
|
|
{
|
|
|
|
|
get { return _ISFEEREF; }
|
|
|
|
|
set { _ISFEEREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_TYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _F_TYPE; }
|
|
|
|
|
set { _F_TYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARK; }
|
|
|
|
|
set { _REMARK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal RMBAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _RMBAMOUNT; }
|
|
|
|
|
set { _RMBAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal HANDFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _HANDFEE; }
|
|
|
|
|
set { _HANDFEE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TELXFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _TELXFEE; }
|
|
|
|
|
set { _TELXFEE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal OTFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _OTFEE; }
|
|
|
|
|
set { _OTFEE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TTLAMOUNTRMB
|
|
|
|
|
{
|
|
|
|
|
get { return _TTLAMOUNTRMB; }
|
|
|
|
|
set { _TTLAMOUNTRMB = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FINEFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _FINEFEE; }
|
|
|
|
|
set { _FINEFEE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal RMBVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _RMBVALUE; }
|
|
|
|
|
set { _RMBVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _OP; }
|
|
|
|
|
set { _OP = value; }
|
|
|
|
|
}
|
|
|
|
|
public string OPREF
|
|
|
|
|
{
|
|
|
|
|
get { return _OPREF; }
|
|
|
|
|
set { _OPREF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENTERDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ENTERDATE; }
|
|
|
|
|
set { _ENTERDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CUSTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTNO; }
|
|
|
|
|
set { _CUSTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public FinanceBodymb()
|
|
|
|
|
{
|
|
|
|
|
// TableName = "tMsWlPcHead";
|
|
|
|
|
TableName = "Import_Finance_Body";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "F_NO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class FinanceTradeBody : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _GID = string.Empty;
|
|
|
|
|
private string _F_NO = string.Empty;
|
|
|
|
|
private decimal _ID = 0;
|
|
|
|
|
protected string _CONTRACTNO = string.Empty;
|
|
|
|
|
private string _HTH = string.Empty;
|
|
|
|
|
private string _SELLER = string.Empty;
|
|
|
|
|
private string _CUSTOMER = string.Empty;
|
|
|
|
|
|
|
|
|
|
private string _COMPANY = string.Empty;
|
|
|
|
|
private string _COMPANYNAME = string.Empty;
|
|
|
|
|
private string _BUYER = string.Empty;
|
|
|
|
|
private string _PORTREF = string.Empty;
|
|
|
|
|
private string _BILLNO= string.Empty;
|
|
|
|
|
private string _ARRIVALDATE = null;
|
|
|
|
|
private string _CURR = null;
|
|
|
|
|
private decimal _W_AMOUNT = 0;
|
|
|
|
|
private decimal _S_AMOUNT = 0;
|
|
|
|
|
private decimal _R_AMOUNT = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
public string F_NO
|
|
|
|
|
{
|
|
|
|
|
get { return _F_NO; }
|
|
|
|
|
set { _F_NO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CUSTOMER
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMER; }
|
|
|
|
|
set { _CUSTOMER = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ID; }
|
|
|
|
|
set { _ID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _CONTRACTNO; }
|
|
|
|
|
set { _CONTRACTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string HTH
|
|
|
|
|
{
|
|
|
|
|
get { return _HTH; }
|
|
|
|
|
set { _HTH = value; }
|
|
|
|
|
}
|
|
|
|
|
public string COMPANY
|
|
|
|
|
{
|
|
|
|
|
get { return _COMPANY; }
|
|
|
|
|
set { _COMPANY = value; }
|
|
|
|
|
}
|
|
|
|
|
public string COMPANYNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _COMPANYNAME; }
|
|
|
|
|
set { _COMPANYNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
public string SELLER
|
|
|
|
|
{
|
|
|
|
|
get { return _SELLER; }
|
|
|
|
|
set { _SELLER = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BUYER
|
|
|
|
|
{
|
|
|
|
|
get { return _BUYER; }
|
|
|
|
|
set { _BUYER = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BILLNO; }
|
|
|
|
|
set { _BILLNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public String ARRIVALDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ARRIVALDATE; }
|
|
|
|
|
set { _ARRIVALDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string PORTREF
|
|
|
|
|
{
|
|
|
|
|
get { return _PORTREF; }
|
|
|
|
|
set { _PORTREF = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CURR
|
|
|
|
|
{
|
|
|
|
|
get { return _CURR; }
|
|
|
|
|
set { _CURR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal W_AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _W_AMOUNT; }
|
|
|
|
|
set { _W_AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal S_AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _S_AMOUNT; }
|
|
|
|
|
set { _S_AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal R_AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _R_AMOUNT; }
|
|
|
|
|
set { _R_AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class FinanceBank : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _GID = string.Empty;
|
|
|
|
|
private string _F_NO = string.Empty;
|
|
|
|
|
private string _BANK = string.Empty;
|
|
|
|
|
private decimal _AMOUNT = 0;
|
|
|
|
|
private decimal _DOAMOUNT = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
public string F_NO
|
|
|
|
|
{
|
|
|
|
|
get { return _F_NO; }
|
|
|
|
|
set { _F_NO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BANK
|
|
|
|
|
{
|
|
|
|
|
get { return _BANK; }
|
|
|
|
|
set { _BANK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _AMOUNT; }
|
|
|
|
|
set { _AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
public decimal DOAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _DOAMOUNT; }
|
|
|
|
|
set { _DOAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class Feemb : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _GID = string.Empty;
|
|
|
|
|
private string _BSNO = string.Empty;
|
|
|
|
|
private string _FEENAME = string.Empty;
|
|
|
|
|
private string _AMOUNT = string.Empty;
|
|
|
|
|
private string _CURRENCY = string.Empty;
|
|
|
|
|
private string _FEETYPE_REF = string.Empty;
|
|
|
|
|
private string _FEESTATUS = string.Empty;
|
|
|
|
|
private string _FEESTATUS_REF = string.Empty;
|
|
|
|
|
private string _REMARK = string.Empty;
|
|
|
|
|
private string _F_NO = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string FEENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _FEENAME; }
|
|
|
|
|
set { _FEENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
public string AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _AMOUNT; }
|
|
|
|
|
set { _AMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _CURRENCY; }
|
|
|
|
|
set { _CURRENCY = value; }
|
|
|
|
|
}
|
|
|
|
|
public string FEETYPE_REF
|
|
|
|
|
{
|
|
|
|
|
get { return _FEETYPE_REF; }
|
|
|
|
|
set { _FEETYPE_REF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FEESTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _FEESTATUS; }
|
|
|
|
|
set { _FEESTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
public string FEESTATUS_REF
|
|
|
|
|
{
|
|
|
|
|
get { return _FEESTATUS_REF; }
|
|
|
|
|
set { _FEESTATUS_REF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARK; }
|
|
|
|
|
set { _REMARK = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string F_NO
|
|
|
|
|
{
|
|
|
|
|
get { return _F_NO; }
|
|
|
|
|
set { _F_NO = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Feemb()
|
|
|
|
|
{
|
|
|
|
|
// TableName = "tMsWlPcHead";
|
|
|
|
|
TableName = "ch_fee";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class Bjmb : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region
|
|
|
|
|
private string _FeeType = string.Empty;
|
|
|
|
|
private string _Amount = string.Empty;
|
|
|
|
|
private string _Currency = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string FeeType
|
|
|
|
|
{
|
|
|
|
|
get { return _FeeType; }
|
|
|
|
|
set { _FeeType = value; }
|
|
|
|
|
}
|
|
|
|
|
public string Amount
|
|
|
|
|
{
|
|
|
|
|
get { return _Amount; }
|
|
|
|
|
set { _Amount = value; }
|
|
|
|
|
}
|
|
|
|
|
public string Currency
|
|
|
|
|
{
|
|
|
|
|
get { return _Currency; }
|
|
|
|
|
set { _Currency = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|