You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Account/Models/ChFeeDetail/BillChfeeDetail.cs

620 lines
19 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.BillChfeeDetail
{
[JsonObject]
public class BillChfeeDetail
{
#region 私有成员
private string _BSNO = "";//业务编号
private bool _BSSTATUS;//业务状态
private string _ACCDATE = "";//会计期间
private string _OPLB = "";//会计期间
private string _OPLBNAME = "";//会计期间
private string _MBLNO = "";//主提单号
private string _HBLNO = "";//分提单号
private string _CUSTNO = "";//委托编号
private string _CUSTOMNO = "";
private string _CUSTOMERNAME = "";//委托单位
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private string _ETD;//开船日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
private string _INPUTBY = "";//操作员
private string _SALE = "";//揽货人
private string _OP = "";//揽货人
private string _DOC = "";//揽货人
private string _CUSTSERVICE = "";//揽货人
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _ENTERP = "";//来源明细
private string _CORPID = "";//分公司代码
private string _CH_ID = String.Empty;
private int _feeType = 0;
private string _feeType_Ref = string.Empty;
private string _feeName = String.Empty;
private string _feeobjname = String.Empty;
private decimal _amount = 0;
private decimal _balamount = 0;
private decimal _stlamount = 0;
private string _currency = "RMB";
private decimal _exChangerate = 1;
private decimal _exrate = 1;
private decimal _doamount = 0;
private decimal _acctaxrate = 0;
private decimal _invoice = 0;
private string _SALECORP = "";//揽货人
#endregion
#region 读写属性
/// <summary>
/// 业务编号
/// </summary>
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
/// <summary>
/// 业务状态
/// </summary>
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
/// <summary>
/// 会计期间
/// </summary>
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
public string OPLB { get { return _OPLB; } set { _OPLB = value; } }
public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } }
/// <summary>
/// 委托编号
/// </summary>
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
/// <summary>
/// 委托单位
/// </summary>
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
/// <summary>
/// 航次
/// </summary>
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
/// <summary>
/// 开船日期
/// </summary>
public string ETD { get { return _ETD; } set { _ETD = value; } }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
/// <summary>
/// 录入人
/// </summary>
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
/// <summary>
/// 操作员
/// </summary>
public string OP { get { return _OP; } set { _OP = value; } }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get { return _CUSTSERVICE; } set { _CUSTSERVICE = value; } }
/// <summary>
/// 单证
/// </summary>
public string DOC { get { return _DOC; } set { _DOC = value; } }
/// <summary>
/// 揽货人
/// </summary>
public string SALE { get { return _SALE; } set { _SALE = value; } }
/// <summary>
/// 业务来源
/// </summary>
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
/// <summary>
/// 来源明细
/// </summary>
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
public string CH_ID { get { return _CH_ID; } set { _CH_ID = value; } }
public int FeeType { get { return _feeType; } set { _feeType = value; } }
public string FeeType_Ref
{
get { return _feeType_Ref; }
set { _feeType_Ref = value; }
}
public string FeeName
{
get { return _feeName; }
set { _feeName = value; }
}
public string FeeObjName
{
get { return _feeobjname; }
set { _feeobjname = value; }
}
public decimal Amount
{
get { return _amount; }
set { _amount = value; }
}
public decimal BalAmount
{
get { return _balamount; }
set { _balamount = value; }
}
public decimal StlAmount
{
get { return _stlamount; }
set { _stlamount = value; }
}
public string Currency
{
get { return _currency; }
set { _currency = value; }
}
public decimal ExChangerate
{
get { return _exChangerate; }
set { _exChangerate = value; }
}
public decimal EXRATE
{
get { return _exrate; }
set { _exrate = value; }
}
public decimal DoAmount
{
get { return _doamount; }
set { _doamount = value; }
}
public decimal AccTaxRate
{
get { return _acctaxrate; }
set { _acctaxrate = value; }
}
public decimal Invoice
{
get { return _invoice; }
set { _invoice = value; }
}
public string SALECORP { get { return _SALECORP; } set { _SALECORP = value; } }
public decimal DEBITAMOUNT { get; set; }
#endregion
}
[JsonObject]
public class BillCustDetail
{
#region 私有成员
private string _BSNO = "";//业务编号
private bool _BSSTATUS;//业务状态
private string _ACCDATE = "";//会计期间
private string _OPLB = "";//会计期间
private string _OPLBNAME = "";//会计期间
private string _OPTYPE = "";//更改单
private string _MBLNO = "";//主提单号
private string _HBLNO = "";//分提单号
private string _CUSTNO = "";//委托编号
private string _CUSTOMNO = "";
private string _CUSTOMERNAME = "";//委托单位
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private string _ETD;//开船日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
private string _INPUTBY = "";//操作员
private string _SALE = "";//揽货人
private string _OP = "";//揽货人
private string _DOC = "";//揽货人
private string _CUSTSERVICE = "";//揽货人
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _ENTERP = "";//来源明细
private string _CNTRTOTAL = "";
private string _RMBDRSTATUS = "";
private string _USDDRSTATUS = "";
private string _CORPID = "";//分公司代码
private string _SALECORPID = "";//分公司代码
private string _SALECORP = "";//分公司代码
private string _REMARK = "";//分公司代码
private string _CH_ID = String.Empty;
private string _FeeObjName = "";//结费单位
private string _ORDERNO = "";//订舱编号/分公司合同号(北京二商用)
private decimal _rmbdramount = 0;
private decimal _rmbdrbalamount = 0;
private decimal _rmbdrstlamount = 0;
private decimal _rmbdrdoamount = 0;
private decimal _usddramount = 0;
private decimal _usddrbalamount = 0;
private decimal _usddrstlamount = 0;
private decimal _usddrdoamount = 0;
private decimal _otdramount = 0;
private decimal _otdrbalamount = 0;
private decimal _otdrstlamount = 0;
private decimal _otdrdoamount = 0;
private decimal _rmbcramount = 0;
private decimal _rmbcrbalamount = 0;
private decimal _rmbcrstlamount = 0;
private decimal _rmbcrdoamount = 0;
private decimal _usdcramount = 0;
private decimal _usdcrbalamount = 0;
private decimal _usdcrstlamount = 0;
private decimal _usdcrdoamount = 0;
private decimal _otcramount = 0;
private decimal _otcrbalamount = 0;
private decimal _otcrstlamount = 0;
private decimal _otcrdoamount = 0;
private decimal _balrmbinvdr = 0;
private decimal _balrmbinvcr = 0;
private decimal _balusdinvdr = 0;
private decimal _balusdinvcr = 0;
private string _COMPANYNAME = "";
private string _COMPANYID = "";
private string _OPDATE = "";
#endregion
#region 读写属性
/// <summary>
/// 业务编号
/// </summary>
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
/// <summary>
/// 业务状态
/// </summary>
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
/// <summary>
/// 会计期间
/// </summary>
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
public string OPLB { get { return _OPLB; } set { _OPLB = value; } }
public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } }
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } }
/// <summary>
/// 委托编号
/// </summary>
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
/// <summary>
/// 委托单位
/// </summary>
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
/// <summary>
/// 航次
/// </summary>
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
/// <summary>
/// 开船日期
/// </summary>
public string ETD { get { return _ETD; } set { _ETD = value; } }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
/// <summary>
/// 录入人
/// </summary>
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
/// <summary>
/// 操作员
/// </summary>
public string OP { get { return _OP; } set { _OP = value; } }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get { return _CUSTSERVICE; } set { _CUSTSERVICE = value; } }
public string INVNO { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get { return _DOC; } set { _DOC = value; } }
/// <summary>
/// 揽货人
/// </summary>
public string SALE { get { return _SALE; } set { _SALE = value; } }
public string CNTRTOTAL { get { return _CNTRTOTAL; } set { _CNTRTOTAL = value; } }
public string RMBDRSTATUS { get { return _RMBDRSTATUS; } set { _RMBDRSTATUS = value; } }
public string USDDRSTATUS { get { return _USDDRSTATUS; } set { _USDDRSTATUS = value; } }
/// <summary>
/// 业务来源
/// </summary>
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
/// <summary>
/// 来源明细
/// </summary>
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
public string SALECORPID { get { return _SALECORPID; } set { _SALECORPID = value; } }
public string SALECORP { get { return _SALECORP; } set { _SALECORP = value; } }
public string CH_ID { get { return _CH_ID; } set { _CH_ID = value; } }
public string FEEOBJNAME { get { return _FeeObjName; } set { _FeeObjName = value; } }
/// <summary>
/// 订舱编号/分公司合同号
/// </summary>
public string ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } }
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
public decimal RMBDrAmount
{
get { return _rmbdramount; }
set { _rmbdramount = value; }
}
public decimal RMBDrBalAmount
{
get { return _rmbdrbalamount; }
set { _rmbdrbalamount = value; }
}
public decimal RMBDrStlAmount
{
get { return _rmbdrstlamount; }
set { _rmbdrstlamount = value; }
}
public decimal RMBDrDoAmount
{
get { return _rmbdrdoamount; }
set { _rmbdrdoamount = value; }
}
public decimal USDDrAmount
{
get { return _usddramount; }
set { _usddramount = value; }
}
public decimal USDDrBalAmount
{
get { return _usddrbalamount; }
set { _usddrbalamount = value; }
}
public decimal USDDrStlAmount
{
get { return _usddrstlamount; }
set { _usddrstlamount = value; }
}
public decimal USDDrDoAmount
{
get { return _usddrdoamount; }
set { _usddrdoamount = value; }
}
public decimal OTDrAmount
{
get { return _otdramount; }
set { _otdramount = value; }
}
public decimal OTDrBalAmount
{
get { return _otdrbalamount; }
set { _otdrbalamount = value; }
}
public decimal OTDrStlAmount
{
get { return _otdrstlamount; }
set { _otdrstlamount = value; }
}
public decimal OTDrDoAmount
{
get { return _otdrdoamount; }
set { _otdrdoamount = value; }
}
public decimal RMBCrAmount
{
get { return _rmbcramount; }
set { _rmbcramount = value; }
}
public decimal RMBCrBalAmount
{
get { return _rmbcrbalamount; }
set { _rmbcrbalamount = value; }
}
public decimal RMBCrStlAmount
{
get { return _rmbcrstlamount; }
set { _rmbcrstlamount = value; }
}
public decimal RMBCrDoAmount
{
get { return _rmbcrdoamount; }
set { _rmbcrdoamount = value; }
}
public decimal USDCrAmount
{
get { return _usdcramount; }
set { _usdcramount = value; }
}
public decimal USDCrBalAmount
{
get { return _usdcrbalamount; }
set { _usdcrbalamount = value; }
}
public decimal USDCrStlAmount
{
get { return _usdcrstlamount; }
set { _usdcrstlamount = value; }
}
public decimal USDCrDoAmount
{
get { return _usdcrdoamount; }
set { _usdcrdoamount = value; }
}
public decimal OTCrAmount
{
get { return _otcramount; }
set { _otcramount = value; }
}
public decimal OTCrBalAmount
{
get { return _otcrbalamount; }
set { _otcrbalamount = value; }
}
public decimal OTCrStlAmount
{
get { return _otcrstlamount; }
set { _otcrstlamount = value; }
}
public decimal OTCrDoAmount
{
get { return _otcrdoamount; }
set { _otcrdoamount = value; }
}
public decimal BALRMBINVDR
{
get { return _balrmbinvdr; }
set { _balrmbinvdr = value; }
}
public decimal BALRMBINVCR
{
get { return _balrmbinvcr; }
set { _balrmbinvcr = value; }
}
public decimal BALUSDINVDR
{
get { return _balusdinvdr; }
set { _balusdinvdr = value; }
}
public decimal BALUSDINVCR
{
get { return _balusdinvcr; }
set { _balusdinvcr = value; }
}
public decimal BALTTLDR { get; set; }
public string OPDATE { get { return _OPDATE; } set { _OPDATE = value; } }
public string COMPANYNAME { get { return _COMPANYNAME; } set { _COMPANYNAME = value; } }
public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } }
public string STLNAME { get; set; }
public string CARRIER { get; set; }
#endregion
}
}