|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.RptWmsSettlementListViewEntity
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptWmsSettlementListViewEntity : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _DUINO = "*";//业务编号
|
|
|
|
|
private string _BSNO = "*";//业务编号
|
|
|
|
|
private string _MBLNO = "";//主提单号
|
|
|
|
|
private string _CUSTNO = "";//委托编号
|
|
|
|
|
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 string _SALE = "";//揽货人
|
|
|
|
|
private string _CNTRTOTAL = "";//集装箱
|
|
|
|
|
private string _BSSOURCE = "";//业务来源
|
|
|
|
|
private string _BSSOURCEDETAIL = "";//来源明细
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DUINO { get { return _DUINO; } set { _DUINO = value; } }
|
|
|
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
|
|
|
public string BSDATE { get { return _BSDATE; } set { _BSDATE = value; } }
|
|
|
|
|
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
|
|
|
|
|
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
|
|
|
|
|
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = 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 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; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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 _balamount = 0;
|
|
|
|
|
private string _currency = "RMB";
|
|
|
|
|
private decimal _exChangerate = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChFeeDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region ch_fee
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _bsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _bsno; }
|
|
|
|
|
set { _bsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _feetype = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用收、付方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FEETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _feetype; }
|
|
|
|
|
set { _feetype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _feename = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用中文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FEENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _feename; }
|
|
|
|
|
set { _feename = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _feedescription = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FEEDESCRIPTION
|
|
|
|
|
{
|
|
|
|
|
get { return _feedescription; }
|
|
|
|
|
set { _feedescription = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customertype = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _customertype; }
|
|
|
|
|
set { _customertype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _unit = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单位标准
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UNIT
|
|
|
|
|
{
|
|
|
|
|
get { return _unit; }
|
|
|
|
|
set { _unit = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _unitprice = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal UNITPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _unitprice; }
|
|
|
|
|
set { _unitprice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _quantity = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal QUANTITY
|
|
|
|
|
{
|
|
|
|
|
get { return _quantity; }
|
|
|
|
|
set { _quantity = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amount = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _amount; }
|
|
|
|
|
set { _amount = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _currency; }
|
|
|
|
|
set { _currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _exchangerate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal EXCHANGERATE
|
|
|
|
|
{
|
|
|
|
|
get { return _exchangerate; }
|
|
|
|
|
set { _exchangerate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _reason = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 原因
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string REASON
|
|
|
|
|
{
|
|
|
|
|
get { return _reason; }
|
|
|
|
|
set { _reason = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _commissionrate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 佣金比率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal COMMISSIONRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _commissionrate; }
|
|
|
|
|
set { _commissionrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _settlement = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal SETTLEMENT
|
|
|
|
|
{
|
|
|
|
|
get { return _settlement; }
|
|
|
|
|
set { _settlement = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _invoice = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开票金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal INVOICE
|
|
|
|
|
{
|
|
|
|
|
get { return _invoice; }
|
|
|
|
|
set { _invoice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _orderamount = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 申请金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ORDERAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _orderamount; }
|
|
|
|
|
set { _orderamount = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _orderinvoice = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 申请开票
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ORDERINVOICE
|
|
|
|
|
{
|
|
|
|
|
get { return _orderinvoice; }
|
|
|
|
|
set { _orderinvoice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _submitdate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提交时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime SUBMITDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _submitdate; }
|
|
|
|
|
set { _submitdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _auditoperator = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AUDITOPERATOR
|
|
|
|
|
{
|
|
|
|
|
get { return _auditoperator; }
|
|
|
|
|
set { _auditoperator = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _auditdate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime AUDITDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _auditdate; }
|
|
|
|
|
set { _auditdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _enteroperator = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENTEROPERATOR
|
|
|
|
|
{
|
|
|
|
|
get { return _enteroperator; }
|
|
|
|
|
set { _enteroperator = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _enterdate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ENTERDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _enterdate; }
|
|
|
|
|
set { _enterdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _debitno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DEBITNO
|
|
|
|
|
{
|
|
|
|
|
get { return _debitno; }
|
|
|
|
|
set { _debitno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isdebit = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否对帐
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISDEBIT
|
|
|
|
|
{
|
|
|
|
|
get { return _isdebit; }
|
|
|
|
|
set { _isdebit = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isopen = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否机密
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISOPEN
|
|
|
|
|
{
|
|
|
|
|
get { return _isopen; }
|
|
|
|
|
set { _isopen = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isadvancedpay = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否垫付
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISADVANCEDPAY
|
|
|
|
|
{
|
|
|
|
|
get { return _isadvancedpay; }
|
|
|
|
|
set { _isadvancedpay = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _sort = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SORT
|
|
|
|
|
{
|
|
|
|
|
get { return _sort; }
|
|
|
|
|
set { _sort = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isinvoice = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否开发票
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISINVOICE
|
|
|
|
|
{
|
|
|
|
|
get { return _isinvoice; }
|
|
|
|
|
set { _isinvoice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _feestatus = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FEESTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _feestatus; }
|
|
|
|
|
set { _feestatus = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _feefrt = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运费支付方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FEEFRT
|
|
|
|
|
{
|
|
|
|
|
get { return _feefrt; }
|
|
|
|
|
set { _feefrt = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _iscrmorderfee = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否来自订舱费用信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCRMORDERFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _iscrmorderfee; }
|
|
|
|
|
set { _iscrmorderfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _auditstatus = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int AUDITSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _auditstatus; }
|
|
|
|
|
set { _auditstatus = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _invoicenum = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string INVOICENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _invoicenum; }
|
|
|
|
|
set { _invoicenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _chequenum = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支票号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHEQUENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _chequenum; }
|
|
|
|
|
set { _chequenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _wmsoutbsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库单BSNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WMSOUTBSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _wmsoutbsno; }
|
|
|
|
|
set { _wmsoutbsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _linenum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单个grid的行号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int LINENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum; }
|
|
|
|
|
set { _linenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _taxrate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 税率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal TAXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _taxrate; }
|
|
|
|
|
set { _taxrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _notaxamount = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 不含税金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal NOTAXAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _notaxamount; }
|
|
|
|
|
set { _notaxamount = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _acctaxrate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务税率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ACCTAXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _acctaxrate; }
|
|
|
|
|
set { _acctaxrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isvou = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否生成凭证
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISVOU
|
|
|
|
|
{
|
|
|
|
|
get { return _isvou; }
|
|
|
|
|
set { _isvou = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _voucherno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUCHERNO
|
|
|
|
|
{
|
|
|
|
|
get { return _voucherno; }
|
|
|
|
|
set { _voucherno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _accdate; }
|
|
|
|
|
set { _accdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _bxgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报销单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BXGID
|
|
|
|
|
{
|
|
|
|
|
get { return _bxgid; }
|
|
|
|
|
set { _bxgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _tax = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 融资业务ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal TAX
|
|
|
|
|
{
|
|
|
|
|
get { return _tax; }
|
|
|
|
|
set { _tax = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptWmsSettlementDetailEntity : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _blno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _blno; }
|
|
|
|
|
set { _blno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CUSTOMNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备案清单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMNO
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMNO; }
|
|
|
|
|
set { _CUSTOMNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _contractno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合同号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _contractno; }
|
|
|
|
|
set { _contractno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _wmsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WMSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _wmsno; }
|
|
|
|
|
set { _wmsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _outbsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OUTBSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _outbsno; }
|
|
|
|
|
set { _outbsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货主
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _storagename = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STORAGENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _storagename; }
|
|
|
|
|
set { _storagename = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsname = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物名称/品名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsname; }
|
|
|
|
|
set { _goodsname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsmodel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 型号/品牌
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSMODEL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsmodel; }
|
|
|
|
|
set { _goodsmodel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsstandard = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规格
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSSTANDARD
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsstandard; }
|
|
|
|
|
set { _goodsstandard = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsgrade = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 品名的等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSGRADE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsgrade; }
|
|
|
|
|
set { _goodsgrade = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _wmsdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WMSDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _wmsdate; }
|
|
|
|
|
set { _wmsdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dodate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DODATE
|
|
|
|
|
{
|
|
|
|
|
get { return _dodate; }
|
|
|
|
|
set { _dodate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _wmsdays = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收仓储天数_OUT
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int WMSDAYS
|
|
|
|
|
{
|
|
|
|
|
get { return _wmsdays; }
|
|
|
|
|
set { _wmsdays = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startbillingdate_out = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收开始计费日期_OUT
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STARTBILLINGDATE_OUT
|
|
|
|
|
{
|
|
|
|
|
get { return _startbillingdate_out; }
|
|
|
|
|
set { _startbillingdate_out = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _endbillingdate_out = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收结束计费日期_OUT
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENDBILLINGDATE_OUT
|
|
|
|
|
{
|
|
|
|
|
get { return _endbillingdate_out; }
|
|
|
|
|
set { _endbillingdate_out = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsoutfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收仓储费_OUT
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSOUTFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsoutfee; }
|
|
|
|
|
set { _goodsoutfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspack = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPACK
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspack; }
|
|
|
|
|
set { _goodspack = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspackactual = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实际件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPACKACTUAL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspackactual; }
|
|
|
|
|
set { _goodspackactual = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspackpfsl = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPACKPFSL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspackpfsl; }
|
|
|
|
|
set { _goodspackpfsl = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspackstock = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库存件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPACKSTOCK
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspackstock; }
|
|
|
|
|
set { _goodspackstock = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsrksl = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSRKSL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsrksl; }
|
|
|
|
|
set { _goodsrksl = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsrkslactual = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实际数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSRKSLACTUAL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsrkslactual; }
|
|
|
|
|
set { _goodsrkslactual = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspfsl = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPFSL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspfsl; }
|
|
|
|
|
set { _goodspfsl = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsstock = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库存数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSSTOCK
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsstock; }
|
|
|
|
|
set { _goodsstock = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _chargeunit = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHARGEUNIT
|
|
|
|
|
{
|
|
|
|
|
get { return _chargeunit; }
|
|
|
|
|
set { _chargeunit = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark_out = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注_OUT
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string REMARK_OUT
|
|
|
|
|
{
|
|
|
|
|
get { return _remark_out; }
|
|
|
|
|
set { _remark_out = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feetype = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _feetype; }
|
|
|
|
|
set { _feetype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feegrade = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEEGRADE
|
|
|
|
|
{
|
|
|
|
|
get { return _feegrade; }
|
|
|
|
|
set { _feegrade = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feescale = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费区间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEESCALE
|
|
|
|
|
{
|
|
|
|
|
get { return _feescale; }
|
|
|
|
|
set { _feescale = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _feeprice = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费单价/费率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FEEPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _feeprice; }
|
|
|
|
|
set { _feeprice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startbillingdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收开始计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STARTBILLINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _startbillingdate; }
|
|
|
|
|
set { _startbillingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _endbillingdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收结束计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENDBILLINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _endbillingdate; }
|
|
|
|
|
set { _endbillingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feedays = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收计费天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEEDAYS
|
|
|
|
|
{
|
|
|
|
|
get { return _feedays; }
|
|
|
|
|
set { _feedays = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _outfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收仓储费
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal OUTFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _outfee; }
|
|
|
|
|
set { _outfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _arfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收出库费
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ARFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _arfee; }
|
|
|
|
|
set { _arfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ismakeout = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否重新生成过
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISMAKEOUT
|
|
|
|
|
{
|
|
|
|
|
get { return _ismakeout; }
|
|
|
|
|
set { _ismakeout = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _makeoutuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重新生成人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MAKEOUTUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _makeoutuser; }
|
|
|
|
|
set { _makeoutuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _makeouttime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重新生成时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime MAKEOUTTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _makeouttime; }
|
|
|
|
|
set { _makeouttime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _linenum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int LINENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum; }
|
|
|
|
|
set { _linenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _duigid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账惟一GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DUIGID
|
|
|
|
|
{
|
|
|
|
|
get { return _duigid; }
|
|
|
|
|
set { _duigid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _duino = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DUINO
|
|
|
|
|
{
|
|
|
|
|
get { return _duino; }
|
|
|
|
|
set { _duino = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _gid_link = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出入库主表关联GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID_LINK
|
|
|
|
|
{
|
|
|
|
|
get { return _gid_link; }
|
|
|
|
|
set { _gid_link = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public RptWmsSettlementDetailEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "wms_settlement_detail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|