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.
501 lines
17 KiB
C#
501 lines
17 KiB
C#
using System;
|
|
using System.Data;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsChDuiView
|
|
{
|
|
|
|
[JsonObject]
|
|
public class ChDuiBillView : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _DUINO = "*";//业务编号
|
|
private string _BSNO = "*";//业务编号
|
|
private string _ISDEBIT = "";//是否对账
|
|
private string _DUIFEESTATUS = "";//费用状态
|
|
private string _MBLNO = "";//主提单号
|
|
private string _HBLNO = "";//主提单号
|
|
private string _CUSTNO = "";//委托编号
|
|
private string _ORDERNO = "";//委托编号
|
|
private string _CUSTOMERNAME = "";//委托单位
|
|
private string _VESSEL = "";//船名
|
|
private string _VOYNO = "";//航次
|
|
private string _ETD;//开船日期
|
|
private string _BSDATE = "";//录入日期
|
|
private string _ACCDATE = "";//会计期间
|
|
private decimal _RMBDR = 0;
|
|
private decimal _BALRMBDR = 0;
|
|
private decimal _RMBCR = 0;
|
|
private decimal _BALRMBCR = 0;
|
|
private decimal _USDDR = 0;
|
|
private decimal _BALUSDDR = 0;
|
|
private decimal _USDCR = 0;
|
|
private decimal _BALUSDCR = 0;
|
|
private decimal _OTDR = 0;
|
|
private decimal _BALOTDR = 0;
|
|
private decimal _OTCR = 0;
|
|
private decimal _BALOTCR = 0;
|
|
private decimal _TTLDR = 0;
|
|
private decimal _BALTTLDR = 0;
|
|
private decimal _TTLCR = 0;
|
|
private decimal _BALTTLCR = 0;
|
|
private decimal _RMBORDERINVOICEDR = 0;
|
|
private decimal _USDORDERINVOICEDR = 0;
|
|
private decimal _RMBORDERAMOUNTCR = 0;
|
|
private decimal _USDORDERAMOUNTCR = 0;
|
|
private string _SALE = "";//揽货人
|
|
private string _OP = "";//操作
|
|
private string _CNTRTOTAL = "";//集装箱
|
|
private string _BSSOURCE = "";//业务来源
|
|
private string _BSSOURCEDETAIL = "";//来源明细
|
|
private string _DOC = "";//揽货人
|
|
private string _CUSTSERVICE = "";//揽货人
|
|
private string _PORTLOAD = "";//卸货港代码
|
|
private string _PORTDISCHARGE = "";//卸货港
|
|
private string _OPLB = "";//会计期间
|
|
private string _OPLBNAME = "";//会计期间
|
|
private string _FeeObjName = "";//结费单位
|
|
private string _CUSTOMNO = "";
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
public string DUINO { get { return _DUINO; } set { _DUINO = value; } }
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
public string DUIFEESTATUS { get { return _DUIFEESTATUS; } set { _DUIFEESTATUS = value; } }
|
|
public string BSDATE { get { return _BSDATE; } set { _BSDATE = value; } }
|
|
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
|
|
public string ISDEBIT { get { return _ISDEBIT; } set { _ISDEBIT = value; } }
|
|
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
|
|
public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } }
|
|
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
|
|
public string ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } }
|
|
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
|
|
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
|
|
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
|
|
public string ETD { get { return _ETD; } set { _ETD = value; } }
|
|
public string CNTRTOTAL { get { return _CNTRTOTAL; } set { _CNTRTOTAL = value; } }
|
|
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
|
|
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
|
|
public string SALE { get { return _SALE; } set { _SALE = value; } }
|
|
public string OP { get { return _OP; } set { _OP = value; } }
|
|
public decimal RMBDR { get { return _RMBDR; } set { _RMBDR = value; } }
|
|
public decimal RMBCR { get { return _RMBCR; } set { _RMBCR = value; } }
|
|
public decimal BALRMBDR { get { return _BALRMBDR; } set { _BALRMBDR = value; } }
|
|
public decimal BALRMBCR { get { return _BALRMBCR; } set { _BALRMBCR = value; } }
|
|
public decimal USDDR { get { return _USDDR; } set { _USDDR = value; } }
|
|
public decimal USDCR { get { return _USDCR; } set { _USDCR = value; } }
|
|
public decimal BALUSDDR { get { return _BALUSDDR; } set { _BALUSDDR = value; } }
|
|
public decimal BALUSDCR { get { return _BALUSDCR; } set { _BALUSDCR = value; } }
|
|
public decimal OTDR { get { return _OTDR; } set { _OTDR = value; } }
|
|
public decimal OTCR { get { return _OTCR; } set { _OTCR = value; } }
|
|
public decimal BALOTDR { get { return _BALOTDR; } set { _BALOTDR = value; } }
|
|
public decimal BALOTCR { get { return _BALOTCR; } set { _BALOTCR = value; } }
|
|
public decimal TTLDR { get { return _TTLDR; } set { _TTLDR = value; } }
|
|
public decimal TTLCR { get { return _TTLCR; } set { _TTLCR = value; } }
|
|
public decimal BALTTLDR { get { return _BALTTLDR; } set { _BALTTLDR = value; } }
|
|
public decimal RMBORDERINVOICEDR { get { return _RMBORDERINVOICEDR; } set { _RMBORDERINVOICEDR = value; } }
|
|
public decimal BALTTLCR { get { return _BALTTLCR; } set { _BALTTLCR = value; } }
|
|
public decimal USDORDERINVOICEDR { get { return _USDORDERINVOICEDR; } set { _USDORDERINVOICEDR = value; } }
|
|
public decimal RMBORDERAMOUNTCR { get { return _RMBORDERAMOUNTCR; } set { _RMBORDERAMOUNTCR = value; } }
|
|
public decimal USDORDERAMOUNTCR { get { return _USDORDERAMOUNTCR; } set { _USDORDERAMOUNTCR = 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 PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
|
|
|
|
/// <summary>
|
|
/// 卸货港
|
|
/// </summary>
|
|
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
|
|
public string OPLB { get { return _OPLB; } set { _OPLB = value; } }
|
|
public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } }
|
|
public string FEEOBJNAME { get { return _FeeObjName; } set { _FeeObjName = value; } }
|
|
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
[JsonObject]
|
|
public class ChDuiDetailView : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _DUINO = "*";//业务编号
|
|
private string _BSNO = "*";//业务编号
|
|
private string _CH_ID = String.Empty;
|
|
private string _feeType_Ref = string.Empty;
|
|
private string _feeName = String.Empty;
|
|
private string _customerName = String.Empty;
|
|
private decimal _amount = 0;
|
|
private decimal _notaxamount = 0;
|
|
private decimal _balamount = 0;
|
|
private string _currency = "RMB";
|
|
private decimal _exChangerate = 1;
|
|
private string _remark = "";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
public string DUINO { get { return _DUINO; } set { _DUINO = value; } }
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
public string CH_ID { get { return _CH_ID; } set { _CH_ID = value; } }
|
|
public string FeeType_Ref
|
|
{
|
|
get { return _feeType_Ref; }
|
|
set { _feeType_Ref = value; }
|
|
}
|
|
public string FeeName
|
|
{
|
|
get { return _feeName; }
|
|
set { _feeName = value; }
|
|
}
|
|
public string CustomerName
|
|
{
|
|
get { return _customerName; }
|
|
set { _customerName = value; }
|
|
}
|
|
public decimal Amount
|
|
{
|
|
get { return _amount; }
|
|
set { _amount = value; }
|
|
}
|
|
public decimal BalAmount
|
|
{
|
|
get { return _balamount; }
|
|
set { _balamount = value; }
|
|
}
|
|
public string Currency
|
|
{
|
|
get { return _currency; }
|
|
set { _currency = value; }
|
|
}
|
|
public decimal ExChangerate
|
|
{
|
|
get { return _exChangerate; }
|
|
set { _exChangerate = value; }
|
|
}
|
|
public decimal NoTaxAmount
|
|
{
|
|
get { return _notaxamount; }
|
|
set { _notaxamount = value; }
|
|
}
|
|
public string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
[JsonObject]
|
|
public class ChFeeDetail : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _BSNO = "*";//业务编号
|
|
private string _CH_ID = String.Empty;
|
|
private string _feeType_Ref = string.Empty;
|
|
private string _feeName = String.Empty;
|
|
private string _customerName = String.Empty;
|
|
private decimal _amount = 0;
|
|
private decimal _notaxamount = 0;
|
|
private decimal _balamount = 0;
|
|
private string _currency = "RMB";
|
|
private decimal _exChangerate = 1;
|
|
private string _remark = "";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
public string CH_ID { get { return _CH_ID; } set { _CH_ID = value; } }
|
|
public string FeeType_Ref
|
|
{
|
|
get { return _feeType_Ref; }
|
|
set { _feeType_Ref = value; }
|
|
}
|
|
public string FeeName
|
|
{
|
|
get { return _feeName; }
|
|
set { _feeName = value; }
|
|
}
|
|
public string CustomerName
|
|
{
|
|
get { return _customerName; }
|
|
set { _customerName = value; }
|
|
}
|
|
public decimal Amount
|
|
{
|
|
get { return _amount; }
|
|
set { _amount = value; }
|
|
}
|
|
public decimal NoTaxAmount
|
|
{
|
|
get { return _notaxamount; }
|
|
set { _notaxamount = value; }
|
|
}
|
|
public decimal BalAmount
|
|
{
|
|
get { return _balamount; }
|
|
set { _balamount = value; }
|
|
}
|
|
public string Currency
|
|
{
|
|
get { return _currency; }
|
|
set { _currency = value; }
|
|
}
|
|
public decimal ExChangerate
|
|
{
|
|
get { return _exChangerate; }
|
|
set { _exChangerate = value; }
|
|
}
|
|
|
|
public string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsOpDuiBill : ModelObjectBillBody
|
|
{
|
|
#region 私有成员
|
|
private string _BSNO = "";//业务编号
|
|
private bool _BSSTATUS;//业务状态
|
|
private string _ACCDATE = "";//会计期间
|
|
private string _ISDEBIT = "";//是否对账
|
|
private string _DUINO = "";//对账编号
|
|
private string _OPLB = "";//会计期间
|
|
private string _OPLBNAME = "";//会计期间
|
|
private string _MBLNO = "";//主提单号
|
|
private string _HBLNO = "";//分提单号
|
|
private string _CUSTNO = "";//委托编号
|
|
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 _CORPID = "";//分公司代码
|
|
|
|
|
|
#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 ISDEBIT { get { return _ISDEBIT; } set { _ISDEBIT = value; } }
|
|
public string DUINO { get { return _DUINO; } set { _DUINO = 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; } }
|
|
|
|
/// <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 CORPID { get { return _CORPID; } set { _CORPID = value; } }
|
|
|
|
|
|
#endregion
|
|
|
|
public MsOpDuiBill()
|
|
{
|
|
TableName = "op_bill";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "BsNo";
|
|
}
|
|
}
|
|
|
|
|
|
[JsonObject]
|
|
public class SelectSum : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _currency = "RMB";
|
|
private decimal _dr = 0;
|
|
private decimal _nodr = 0;
|
|
private decimal _cr = 0;
|
|
private decimal _nocr = 0;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
public string CURRENCY
|
|
{
|
|
get { return _currency; }
|
|
set { _currency = value; }
|
|
}
|
|
public decimal DR
|
|
{
|
|
get { return _dr; }
|
|
set { _dr = value; }
|
|
}
|
|
public decimal NODR
|
|
{
|
|
get { return _nodr; }
|
|
set { _nodr = value; }
|
|
}
|
|
public decimal CR
|
|
{
|
|
get { return _cr; }
|
|
set { _cr = value; }
|
|
}
|
|
public decimal NOCR
|
|
{
|
|
get { return _nocr; }
|
|
set { _nocr = value; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
}
|