using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.Chfee_do_detail
{
[JsonObject]
public class Chfee_do_detail
{
#region 私有成员
private string _BSNO = "";//业务编号
private string _PARENTID = "";//业务编号
private bool _BSSTATUS;//业务状态
private string _ACCDATE = "";//会计期间
private string _OPLBNAME = "";//
private string _OPTYPE = "";//
private string _BLISSUESTATUS = "";//
private string _MBLNO = "";//主提单号
private string _HBLNO = "";//分提单号
private string _CUSTNO = "";//委托编号
private string _CUSTOMNO = "";//报关单号
private string _CUSTOMERNAME = "";//委托单位
private string _CUSTNAME = "";//费用对象
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private string _ETD;//开船日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
private string _DESTINATION = "";//目的港
private string _INPUTBY = "";//操作员
private string _SALE = "";//揽货人
private string _OP = "";//揽货人
private string _DOC = "";//揽货人
private string _CUSTSERVICE = "";//揽货人
private string _AUDITDATE = "";
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _ENTERP = "";//来源明细
private string _CORPID = "";//分公司代码
private string _billno = "*";
private string _feedoid = "";
private string _feeid = "";
private int _feetype = 0;
private string _feetyperef = "";
private string _feename = "";
private string _feeobjname = "";
private string _currency = "";
private decimal _amount = 0;
private decimal _doamount = 0;
private string _origcurrency = "";
private decimal _origamount = 0;
private decimal _origstlamount = 0;
private decimal _exchangerate = 0;
private decimal _appexchangerate = 0;
private decimal _origexchangerate = 0;
private string _payfeedoid = "";
private decimal _paydoamount = 0;
private string _invoiceno = "";
private string _COMPANYNAME = "";
private string _OPDATE = "";
private string _LOCK_EXCHANGERATE = "";
private string _ORDERNO = "";
private string _Remark = "";
private string _INPUTMODE = "";
private string _CNTRTOTAL = "";
#endregion
#region 读写属性
///
/// 业务编号
///
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
public string PARENTID { get { return _PARENTID; } set { _PARENTID = value; } }
///
/// 业务状态
///
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
public string BSSTATUSREF { get; set; }
public string FEESTATUSREF { get; set; }
///
/// 会计期间
///
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } }
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
public string BLISSUESTATUS { get { return _BLISSUESTATUS; } set { _BLISSUESTATUS = 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 CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
///
/// 委托单位
///
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
public string CUSTNAME { get { return _CUSTNAME; } set { _CUSTNAME = value; } }
///
/// 船名
///
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
///
/// 航次
///
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
public string CARRIER { get; set; }
///
/// 开船日期
///
public string ETD { get { return _ETD; } set { _ETD = value; } }
///
/// 卸货港代码
///
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
///
/// 卸货港
///
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
///
/// 目的港
///
public string DESTINATION { get { return _DESTINATION; } set { _DESTINATION = value; } }
///
/// 录入人
///
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
///
/// 操作员
///
public string OP { get { return _OP; } set { _OP = value; } }
///
/// 客服
///
public string CUSTSERVICE { get { return _CUSTSERVICE; } set { _CUSTSERVICE = value; } }
///
/// 单证
///
public string DOC { get { return _DOC; } set { _DOC = value; } }
///
/// 揽货人
///
public string SALE { get { return _SALE; } set { _SALE = value; } }
///
/// 业务来源
///
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
///
/// 来源明细
///
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 COMPANYNAME { get { return _COMPANYNAME; } set { _COMPANYNAME = value; } }
//用于表示v_op_bill的OPDATE,在进口贸易中此数据与到港日相同
public string OPDATE { get { return _OPDATE; } set { _OPDATE = value; } }
public string AUDITDATE { get { return _AUDITDATE; } set { _AUDITDATE = value; } }
public string BSTYPE { get; set; }
//public string LOCK_EXCHANGERATE { get { return _LOCK_EXCHANGERATE; } set { _LOCK_EXCHANGERATE = value; } }
public string BILLNO
{
get { return _billno; }
set { _billno = value; }
}
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
public decimal AMOUNT
{
get { return _amount; }
set { _amount = value; }
}
public decimal DOAMOUNT
{
get { return _doamount; }
set { _doamount = value; }
}
public string FEENAME
{
get { return _feename; }
set { _feename = value; }
}
public string FEEOBJNAME
{
get { return _feeobjname; }
set { _feeobjname = value; }
}
public string FEEDOID
{
get { return _feedoid; }
set { _feedoid = value; }
}
public string FEEID
{
get { return _feeid; }
set { _feeid = value; }
}
public int FEETYPE
{
get { return _feetype; }
set { _feetype = value; }
}
public string FEETYPEREF
{
get { return _feetyperef; }
set { _feetyperef = value; }
}
public string ORIGCURRENCY
{
get { return _origcurrency; }
set { _origcurrency = value; }
}
public decimal ORIGAMOUNT
{
get { return _origamount; }
set { _origamount = value; }
}
public decimal ORIGSTLAMOUNT
{
get { return _origstlamount; }
set { _origstlamount = value; }
}
public decimal EXCHANGERATE
{
get { return _exchangerate; }
set { _exchangerate = value; }
}
public decimal APPEXCHANGERATE
{
get { return _appexchangerate; }
set { _appexchangerate = value; }
}
public decimal ORIGEXCHANGERATE
{
get { return _origexchangerate; }
set { _origexchangerate = value; }
}
public string SALECORP { get; set; }
public string BSSALECORP { get; set; }
public decimal ACCTAXRATE { get; set; }
public decimal TTLNODR { get; set; }
public string PAYFEEDOID
{
get { return _payfeedoid; }
set { _payfeedoid = value; }
}
public decimal PAYDOAMOUNT
{
get { return _paydoamount; }
set { _paydoamount = value; }
}
public decimal PAYORIGSTLAMOUNT
{
get;
set;
}
public string INVOICENO
{
get { return _invoiceno; }
set { _invoiceno = value; }
}
public string ORDERNO
{
get { return _ORDERNO; }
set { _ORDERNO = value; }
}
///
/// 备注
///
public string Remark { get { return _Remark; } set { _Remark = value; } }
public string INPUTMODE { get { return _INPUTMODE; } set { _INPUTMODE = value; } }
public string CNTRTOTAL { get { return _CNTRTOTAL; } set { _CNTRTOTAL = value; } }
public decimal STLDOAMOUNT { get; set; }
public decimal SETTLEMENT { get; set; }
public decimal BALDOAMOUNT { get; set; }
public decimal BALAMOUNT { get; set; }
public decimal FAMOUNT { get; set; }
#endregion
}
[JsonObject]
public class MsFeeCurr : ModelObjectBillBody
{
private string _Curr = String.Empty;
private decimal _defrate = 0;
#region Public Properties
public string CURR
{
get { return _Curr; }
set { _Curr = value; }
}
public decimal DEFRATE
{
get { return _defrate; }
set { _defrate = value; }
}
#endregion
}
[JsonObject]
public class OPCODE : ModelObjectBillBody
{
private string _opcode = String.Empty;
#region Public Properties
public string OPID
{
get { return _opcode; }
set { _opcode = value; }
}
#endregion
}
}