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.

2069 lines
44 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace JobAutoCreateFee.Model
{
[JsonObject]
public class MsFeeProject
{
public string FA_ID { get; set; }
public string FADESCRIP { get; set; }
public string PROJECTTYPE { get; set; }
public bool ISDEFAUT { get; set; }
public bool ISDEP { get; set; }
public string FEETYPE { get; set; }
public string INPUTBY { get; set; }
public string OPTYPE { get; set; }
public string AUDITER { get; set; }
public string ETDFR { get; set; }
public string ETDTO { get; set; }
}
public class MsOpFeeCreate
{
public string BSNO{ get; set; }
public bool ISDEFAUT { get; set; }
}
public class MsFeeProjectCodition
{
public string FA_ID { get; set; }
public string CONDITIONNAME { get; set; }
public string CONDITION { get; set; }
public string CONDITIONVALUE { get; set; }
}
public class MsFeeUnit
{
public string FEEUNIT { get; set; }
public decimal FEEQUANTITY { get; set; }
}
public class MsClient
{
public string CUSTCODE { get; set; }
public string CUSTNAME { get; set; }
public string FULLNAME { get; set; }
public string SALE { get; set; }
public int DAYS { get; set; }
public decimal TTLNO { get; set; }
public decimal AMT { get; set; }
}
[JsonObject]
public class MsFeeUnitD7
{
private string _unit = String.Empty;
private string _sunit = String.Empty;
private decimal _quantity = 0;
public string UNIT
{
get { return _unit; }
set { _unit = value; }
}
public string SUNIT
{
get { return _sunit; }
set { _sunit = value; }
}
public decimal QUANTITY
{
get { return _quantity; }
set { _quantity = value; }
}
}
[JsonObject]
public class MsChFee
{
#region private Fields
#endregion
#region Public Properties
public string DE_ID { get; set; }
public string FA_ID { get; set; }
public decimal TAXRATE { get; set; }
public string FeeType
{
get;
set;
}
public string FeeName
{
get;
set;
}
public string FeeEName
{
get;
set;
}
public string CustomerType
{
get;
set;
}
public string CustomerName
{
get;
set;
}
public string Unit
{
get;
set;
}
public decimal UnitPrice
{
get;
set;
}
public decimal Quantity
{
get;
set;
}
public decimal Amount
{
get;
set;
}
public string Currency
{
get;
set;
}
public decimal ExChangerate
{
get;
set;
}
public string Reason
{
get;
set;
}
public string Remark
{
get;
set;
}
public string OpName
{
get;
set;
}
public string AuditName
{
get;
set;
}
public string EnterDate
{
get;
set;
}
public string DebitNo
{
get;
set;
}
public string IsDebit
{
get;
set;
}
public string IsOpen
{
get;
set;
}
public string ISACC
{
get;
set;
}
public string IsAdvancedpay
{
get;
set;
}
public string Sort
{
get;
set;
}
public string IsInvoice
{
get;
set;
}
public string FeeFrt
{
get;
set;
}
public string IsCrmOrderFee
{
get;
set;
}
#endregion
}
[JsonObject]
public class MsFeeCurr
{
private string _GID = String.Empty;
private string _Curr = String.Empty;
private decimal _defrate = 0;
private decimal _crdefrate = 0;
#region Public Properties
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string CURR
{
get { return _Curr; }
set { _Curr = value; }
}
public decimal DEFRATE
{
get { return _defrate; }
set { _defrate = value; }
}
public decimal CRDEFRATE
{
get { return _crdefrate; }
set { _crdefrate = value; }
}
#endregion
}
[JsonObject]
public class CodeFeeTemplateDetailAuto
{
#region private Fields
private string _GID = String.Empty;
private string _TEMPLATEID = String.Empty;
private string _FEENAME = String.Empty;
private string _FEEDESCRIPTION = String.Empty;
private int _SORT = 0;
private string _CLIENT = "";
private string _CLIENTREF = String.Empty;
private string _CUSTOMERNAME = String.Empty;
private string _UNIT = String.Empty;
private string _CURRENCY = "RMB";
private decimal _UNITPRICE = 0;
private decimal _TAXUNITPRICE = 0;
private decimal _EXCHANGERATE = 0;
private decimal _TAXRATE = 0;
private decimal _TAX = 0;
private string _CREATEUSER = String.Empty;
private string _CREATETIME = String.Empty;
private string _REMARK = String.Empty;
private string _FEEFRT = String.Empty;
private bool _ISCTN = false;
private string _ISCTNREF = String.Empty;
private bool _ISINVOICE = false;
private bool _ISADVANCEDPAY = false;
private decimal _ACCTAXRATE = 0;
private string _UNITPRICEDESCRPTION = String.Empty;
#endregion
#region Public Properties
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string TEMPLATEID
{
get { return _TEMPLATEID; }
set { _TEMPLATEID = value; }
}
public string FEENAME
{
get { return _FEENAME; }
set { _FEENAME = value; }
}
public string FEEDESCRIPTION
{
get { return _FEEDESCRIPTION; }
set { _FEEDESCRIPTION = value; }
}
public string CLIENT
{
get { return _CLIENT; }
set { _CLIENT = value; }
}
public string CLIENTREF
{
get { return _CLIENTREF; }
set { _CLIENTREF = value; }
}
public int SORT
{
get { return _SORT; }
set { _SORT = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string UNIT
{
get { return _UNIT; }
set { _UNIT = value; }
}
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
public decimal UNITPRICE
{
get { return _UNITPRICE; }
set { _UNITPRICE = value; }
}
public decimal TAXUNITPRICE
{
get { return _TAXUNITPRICE; }
set { _TAXUNITPRICE = value; }
}
public decimal EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
public decimal TAXRATE
{
get { return _TAXRATE; }
set { _TAXRATE = value; }
}
public decimal TAX
{
get { return _TAX; }
set { _TAX = value; }
}
public string FEEFRT
{
get { return _FEEFRT; }
set { _FEEFRT = value; }
}
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
public string CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public bool ISCTN
{
get { return _ISCTN; }
set { _ISCTN = value; }
}
public string ISCTNREF
{
get { return _ISCTNREF; }
set { _ISCTNREF = value; }
}
public bool ISINVOICE
{
get { return _ISINVOICE; }
set { _ISINVOICE = value; }
}
public bool ISADVANCEDPAY
{
get { return _ISADVANCEDPAY; }
set { _ISADVANCEDPAY = value; }
}
public decimal ACCTAXRATE
{
get { return _ACCTAXRATE; }
set { _ACCTAXRATE = value; }
}
public string SALECORP { set; get; }
public string UNITPRICEDESCRPTION
{
get { return _UNITPRICEDESCRPTION; }
set { _UNITPRICEDESCRPTION = value; }
}
#endregion
}
[JsonObject]
public class MsOpSeae
{
#region 读写属性
private string _bsno = "topseae" + Guid.NewGuid().ToString();
/// <summary>
/// 业务编号
/// </summary>
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
public string ISBSNO { get; set; }
public bool ISYARDDR { get; set; }
public bool ISYARDCR { get; set; }
public bool ISDGDR { get; set; }
public bool ISDGCR { get; set; }
public bool ISCDDR { get; set; }
public bool ISCDCR { get; set; }
public bool ISVGMDR { get; set; }
public bool ISVGMCR { get; set; }
public bool ISCZFDR { get; set; }
public bool ISCZFCR { get; set; }
public string DLFA { get; set; }
private string _ordertype = "操作录入";
/// <summary>
/// 委托方式
/// </summary>
public string ORDERTYPE
{
get { return _ordertype; }
set { _ordertype = value; }
}
private string _masterno = "";
/// <summary>
/// 主编号
/// </summary>
public string MASTERNO
{
get { return _masterno; }
set { _masterno = value; }
}
private string _custno = "";
/// <summary>
/// 委托编号
/// </summary>
public string CUSTNO
{
get { return _custno; }
set { _custno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO
{
get { return _hblno; }
set { _hblno = value; }
}
private string _applyno = "";
/// <summary>
/// 放箱申请单号
/// </summary>
public string APPLYNO
{
get { return _applyno; }
set { _applyno = value; }
}
private bool _bsstatus = false;
/// <summary>
/// 业务状态
/// </summary>
public bool BSSTATUS
{
get { return _bsstatus; }
set { _bsstatus = value; }
}
private string _BSSTATUSREF = "未锁定";
/// <summary>
/// 业务锁定_中文
/// </summary>
public string BSSTATUSREF
{
get { return _BSSTATUSREF; }
set { _BSSTATUSREF = value; }
}
private string _OPSTATUS = "接受委托";//接单
/// <summary>
/// 业务状态_中文
/// </summary>
public string OPSTATUS
{
get { return _OPSTATUS; }
set { _OPSTATUS = value; }
}
private string _MANIFESTSTATUS = "无状态";
/// <summary>
/// 业务状态_中文
/// </summary>
public string MANIFESTSTATUS
{
get { return _MANIFESTSTATUS; }
set { _MANIFESTSTATUS = value; }
}
private bool _feestatus = false;
/// <summary>
/// 费用状态
/// </summary>
public bool FEESTATUS
{
get { return _feestatus; }
set { _feestatus = value; }
}
private string _FEESTATUSREF = "未锁定";
/// <summary>
/// 费用状态_中文
/// </summary>
public string FEESTATUSREF
{
get { return _FEESTATUSREF; }
set { _FEESTATUSREF = value; }
}
private string _FENPIAO = "0";
/// <summary>
/// 分票
/// </summary>
public string FENPIAO
{
get { return _FENPIAO; }
set { _FENPIAO = value; }
}
private string _AMEND = "0";
/// <summary>
/// 是否有更改
/// </summary>
public string AMEND
{
get { return _AMEND; }
set { _AMEND = value; }
}
private string _ISAPPLY = "0";
/// <summary>
/// 是否生成报关
/// </summary>
public string ISAPPLY
{
get { return _ISAPPLY; }
set { _ISAPPLY = value; }
}
private DateTime _bsdate = DateTime.Now;
/// <summary>
/// 接单日期
/// </summary>
public DateTime BSDATE
{
get { return _bsdate; }
set { _bsdate = value; }
}
private string _accdate = DateTime.Now.ToString("yyyy-MM");
/// <summary>
/// 会计期间
/// </summary>
public string ACCDATE
{
get { return _accdate; }
set { _accdate = value; }
}
private string _customername = "";
/// <summary>
/// 委托单位
/// </summary>
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
private string _bssource = "";
/// <summary>
/// 业务来源
/// </summary>
public string BSSOURCE
{
get { return _bssource; }
set { _bssource = value; }
}
private string _bssourcedetail = "";
/// <summary>
/// 来源明细
/// </summary>
public string BSSOURCEDETAIL
{
get { return _bssourcedetail; }
set { _bssourcedetail = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
public string INPUTBY
{
get { return _inputby; }
set { _inputby = value; }
}
private string _op = "";
/// <summary>
/// 操作员
/// </summary>
public string OP
{
get { return _op; }
set { _op = value; }
}
private string _custservice = "";
/// <summary>
/// 客服员
/// </summary>
public string CUSTSERVICE
{
get { return _custservice; }
set { _custservice = value; }
}
private string _frcustservice = "";
/// <summary>
/// 海外客服员
/// </summary>
public string FRCUSTSERVICE
{
get { return _frcustservice; }
set { _frcustservice = value; }
}
private string _sale = "";
/// <summary>
/// 揽货人
/// </summary>
public string SALE
{
get { return _sale; }
set { _sale = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _salecorpid = "";
/// <summary>
/// 分公司代码
/// </summary>
public string SALECORPID
{
get { return _salecorpid; }
set { _salecorpid = value; }
}
private string _salecorp = "";
/// <summary>
/// 分公司代码
/// </summary>
public string SALECORP
{
get { return _salecorp; }
set { _salecorp = value; }
}
private string _saledept = "";
/// <summary>
/// 所属部门
/// </summary>
public string SALEDEPT
{
get { return _saledept; }
set { _saledept = value; }
}
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
/// <summary>
/// 创建时间
/// </summary>
public string CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _transno = "";
/// <summary>
/// 运单号
/// </summary>
public string TRANSNO
{
get { return _transno; }
set { _transno = value; }
}
private string _vessel = "";
/// <summary>
/// 船名
/// </summary>
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
/// <summary>
/// 航次
/// </summary>
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _etd;
/// <summary>
/// 开船日期
/// </summary>
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _atd;
/// <summary>
/// 实际开船日期
/// </summary>
public string ATD
{
get { return _atd; }
set { _atd = value; }
}
private string _deliverydate = null;
/// <summary>
/// 交货日期
/// </summary>
public string DELIVERYDATE
{
get { return _deliverydate; }
set { _deliverydate = value; }
}
private string _closingdate;
/// <summary>
/// 截港日期
/// </summary>
public string CLOSINGDATE
{
get { return _closingdate; }
set { _closingdate = value; }
}
private string _eta;
/// <summary>
/// 预抵日期
/// </summary>
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _placereceipt = "";
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT
{
get { return _placereceipt; }
set { _placereceipt = value; }
}
private string _portloadid = "";
/// <summary>
/// 装货港代码
/// </summary>
public string PORTLOADID
{
get { return _portloadid; }
set { _portloadid = value; }
}
private string _portload = "";
/// <summary>
/// 装货港
/// </summary>
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _TRANSPORT = "";
/// <summary>
/// 中转港
/// </summary>
public string TRANSPORT
{
get { return _TRANSPORT; }
set { _TRANSPORT = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID
{
get { return _portdischargeid; }
set { _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _placedeliveryid = "";
/// <summary>
/// 交货地代码
/// </summary>
public string PLACEDELIVERYID
{
get { return _placedeliveryid; }
set { _placedeliveryid = value; }
}
private string _placedelivery = "";
/// <summary>
/// 交货地
/// </summary>
public string PLACEDELIVERY
{
get { return _placedelivery; }
set { _placedelivery = value; }
}
private string _destinationid = "";
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID
{
get { return _destinationid; }
set { _destinationid = value; }
}
private string _destination = "";
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION
{
get { return _destination; }
set { _destination = value; }
}
private string _nobill = "";
/// <summary>
/// 提单份数
/// </summary>
public string NOBILL
{
get { return _nobill; }
set { _nobill = value; }
}
private string _copynobill = "";
/// <summary>
/// 提单份数
/// </summary>
public string COPYNOBILL
{
get { return _copynobill; }
set { _copynobill = value; }
}
private string _issuetype = "";
/// <summary>
/// 签单方式
/// </summary>
public string ISSUETYPE
{
get { return _issuetype; }
set { _issuetype = value; }
}
private string _issuedate;
/// <summary>
/// 签单日期
/// </summary>
public string ISSUEDATE
{
get { return _issuedate; }
set { _issuedate = value; }
}
private string _issueplace = "";
/// <summary>
/// 签单地点
/// </summary>
public string ISSUEPLACE
{
get { return _issueplace; }
set { _issueplace = value; }
}
private string _bltype = "整箱";
/// <summary>
/// 装运方式
/// </summary>
public string BLTYPE
{
get { return _bltype; }
set { _bltype = value; }
}
private string _shipperid = "";
/// <summary>
/// 发货人
/// </summary>
public string SHIPPERID
{
get { return _shipperid; }
set { _shipperid = value; }
}
private string _consigneeid = "";
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEEID
{
get { return _consigneeid; }
set { _consigneeid = value; }
}
private string _notifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTYID
{
get { return _notifypartyid; }
set { _notifypartyid = value; }
}
private string _shipper = "";
/// <summary>
/// 发货人内容
/// </summary>
public string SHIPPER
{
get { return _shipper; }
set { _shipper = value; }
}
private string _consignee = "";
/// <summary>
/// 收货人内容
/// </summary>
public string CONSIGNEE
{
get { return _consignee; }
set { _consignee = value; }
}
private string _notifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
public string NOTIFYPARTY
{
get { return _notifyparty; }
set { _notifyparty = value; }
}
private string _mshipperid = "";
/// <summary>
/// 发货人
/// </summary>
public string MSHIPPERID
{
get { return _mshipperid; }
set { _mshipperid = value; }
}
private string _mconsigneeid = "";
/// <summary>
/// 收货人
/// </summary>
public string MCONSIGNEEID
{
get { return _mconsigneeid; }
set { _mconsigneeid = value; }
}
private string _mnotifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
public string MNOTIFYPARTYID
{
get { return _mnotifypartyid; }
set { _mnotifypartyid = value; }
}
private string _mshipper = "";
/// <summary>
/// 发货人内容
/// </summary>
public string MSHIPPER
{
get { return _mshipper; }
set { _mshipper = value; }
}
private string _mconsignee = "";
/// <summary>
/// 收货人内容
/// </summary>
public string MCONSIGNEE
{
get { return _mconsignee; }
set { _mconsignee = value; }
}
private string _mnotifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
public string MNOTIFYPARTY
{
get { return _mnotifyparty; }
set { _mnotifyparty = value; }
}
private string _agentid = "";
/// <summary>
/// 国外代理
/// </summary>
public string AGENTID
{
get { return _agentid; }
set { _agentid = value; }
}
public string THIRDPARTY { get; set; }
public string OTHERPARTY { get; set; }
private string _agent = "";
/// <summary>
/// 国外代理内容
/// </summary>
public string AGENT
{
get { return _agent; }
set { _agent = value; }
}
private string _yard = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
public string YARD
{
get { return _yard; }
set { _yard = value; }
}
private string _yardattn = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
public string YARDATTN
{
get { return _yardattn; }
set { _yardattn = value; }
}
private string _yardtel = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
public string YARDTEL
{
get { return _yardtel; }
set { _yardtel = value; }
}
private string _blfrt = "FREIGHT PREPAID";
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT
{
get { return _blfrt; }
set { _blfrt = value; }
}
private string _prepardat = "";
/// <summary>
/// 预付地点
/// </summary>
public string PREPARDAT
{
get { return _prepardat; }
set { _prepardat = value; }
}
private string _payableat = "";
/// <summary>
/// 到付地点
/// </summary>
public string PAYABLEAT
{
get { return _payableat; }
set { _payableat = value; }
}
private string _service = "CY-CY";
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE
{
get { return _service; }
set { _service = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
public string MARKS
{
get { return _marks; }
set { _marks = value; }
}
private string _cntrsealno = "";
/// <summary>
/// 箱号封号
/// </summary>
public string CNTRSEALNO
{
get { return _cntrsealno; }
set { _cntrsealno = value; }
}
private string _nopkgs = "";
/// <summary>
/// 件数包装
/// </summary>
public string NOPKGS
{
get { return _nopkgs; }
set { _nopkgs = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _grossweight = "";
/// <summary>
/// 货物毛重
/// </summary>
public string GROSSWEIGHT
{
get { return _grossweight; }
set { _grossweight = value; }
}
private string _measurement = "";
/// <summary>
/// 货物尺码
/// </summary>
public string MEASUREMENT
{
get { return _measurement; }
set { _measurement = value; }
}
private string _pkgs = "0";
/// <summary>
/// 件数
/// </summary>
public string PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private string _cbm = "0";
/// <summary>
/// 立方数/尺码
/// </summary>
public string CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _totalno = "";
/// <summary>
/// 件数大写
/// </summary>
public string TOTALNO
{
get { return _totalno; }
set { _totalno = value; }
}
private string _cntrno = "";
/// <summary>
/// 集装箱大写
/// </summary>
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private int _cntr1 = 0;
/// <summary>
/// 箱型1
/// </summary>
public int CNTR1
{
get { return _cntr1; }
set { _cntr1 = value; }
}
private int _cntr2 = 0;
/// <summary>
/// 箱型2
/// </summary>
public int CNTR2
{
get { return _cntr2; }
set { _cntr2 = value; }
}
private int _cntr3 = 0;
/// <summary>
/// 箱型3
/// </summary>
public int CNTR3
{
get { return _cntr3; }
set { _cntr3 = value; }
}
private int _cntr4 = 0;
/// <summary>
/// 箱型4
/// </summary>
public int CNTR4
{
get { return _cntr4; }
set { _cntr4 = value; }
}
private int _cntr5 = 0;
/// <summary>
/// 箱型5
/// </summary>
public int CNTR5
{
get { return _cntr5; }
set { _cntr5 = value; }
}
private int _cntr6 = 0;
/// <summary>
/// 箱型6
/// </summary>
public int CNTR6
{
get { return _cntr6; }
set { _cntr6 = value; }
}
private int _cntr7 = 0;
/// <summary>
/// 箱型7
/// </summary>
public int CNTR7
{
get { return _cntr7; }
set { _cntr7 = value; }
}
private int _cntr8 = 0;
/// <summary>
/// 箱型8
/// </summary>
public int CNTR8
{
get { return _cntr8; }
set { _cntr8 = value; }
}
private int _cntr9 = 0;
/// <summary>
/// 箱型9
/// </summary>
public int CNTR9
{
get { return _cntr9; }
set { _cntr9 = value; }
}
private int _cntr10 = 0;
/// <summary>
/// 箱型10
/// </summary>
public int CNTR10
{
get { return _cntr10; }
set { _cntr10 = value; }
}
private int _otcntr = 0;
/// <summary>
/// 其他箱型
/// </summary>
public int OTCNTR
{
get { return _otcntr; }
set { _otcntr = value; }
}
private int _teu = 0;
/// <summary>
/// 箱TEU
/// </summary>
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _cntrtotal = "";
/// <summary>
/// 集装箱全部内容
/// </summary>
public string CNTRTOTAL
{
get { return _cntrtotal; }
set { _cntrtotal = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _contractno = "";
/// <summary>
/// 合同号/运费协议号
/// </summary>
public string CONTRACTNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _kgs = "0";
/// <summary>
/// 毛重
/// </summary>
public string KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private string _customser = "";
/// <summary>
/// 报关行
/// </summary>
public string CUSTOMSER
{
get { return _customser; }
set { _customser = value; }
}
public string SHIPAGENCY { get; set; }
private string _lane = "";
/// <summary>
/// 航线
/// </summary>
public string LANE
{
get { return _lane; }
set { _lane = value; }
}
private string _carrier = "";
/// <summary>
/// 船公司
/// </summary>
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _forwarder = "";
/// <summary>
/// 订舱公司
/// </summary>
public string FORWARDER
{
get { return _forwarder; }
set { _forwarder = value; }
}
private string _trucker = "";
/// <summary>
/// 承运车队
/// </summary>
public string TRUCKER
{
get { return _trucker; }
set { _trucker = value; }
}
private string _invno = "";
/// <summary>
/// 发票号
/// </summary>
public string INVNO
{
get { return _invno; }
set { _invno = value; }
}
private string _cargoid = "";
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID
{
get { return _cargoid; }
set { _cargoid = value; }
}
private string _dclass = "";
/// <summary>
/// 危险品分类/等级
/// </summary>
public string DCLASS
{
get { return _dclass; }
set { _dclass = value; }
}
private string _dunno = "";
/// <summary>
/// 危险品编号
/// </summary>
public string DUNNO
{
get { return _dunno; }
set { _dunno = value; }
}
private string _dpage = "";
/// <summary>
/// 危险品页号
/// </summary>
public string DPAGE
{
get { return _dpage; }
set { _dpage = value; }
}
private string _dlabel = "";
/// <summary>
/// 危险品标签
/// </summary>
public string DLABEL
{
get { return _dlabel; }
set { _dlabel = value; }
}
private string _linkman = "";
/// <summary>
/// 危险品联系人
/// </summary>
public string LINKMAN
{
get { return _linkman; }
set { _linkman = value; }
}
private string _reeferf = "";
/// <summary>
/// 冷藏通风量
/// </summary>
public string REEFERF
{
get { return _reeferf; }
set { _reeferf = value; }
}
private string _tempid = "";
/// <summary>
/// 温度单位
/// </summary>
public string TEMPID
{
get { return _tempid; }
set { _tempid = value; }
}
private string _tempset = "";
/// <summary>
/// 设置温度
/// </summary>
public string TEMPSET
{
get { return _tempset; }
set { _tempset = value; }
}
private string _tempmax = "";
/// <summary>
/// 最高温度
/// </summary>
public string TEMPMAX
{
get { return _tempmax; }
set { _tempmax = value; }
}
private string _tempmin = "";
/// <summary>
/// 最低温度
/// </summary>
public string TEMPMIN
{
get { return _tempmin; }
set { _tempmin = value; }
}
private string _HUMIDITY = "";
/// <summary>
/// 湿度
/// </summary>
public string HUMIDITY
{
get { return _HUMIDITY; }
set { _HUMIDITY = value; }
}
private int _customsnum = 0;
/// <summary>
/// 报关票数
/// </summary>
public int CUSTOMSNUM
{
get { return _customsnum; }
set { _customsnum = value; }
}
private string _ordtype = "";
/// <summary>
/// 订舱类型
/// </summary>
public string ORDTYPE
{
get { return _ordtype; }
set { _ordtype = value; }
}
private string _orderno = "";
/// <summary>
/// 订舱编号
/// </summary>
public string ORDERNO
{
get { return _orderno; }
set { _orderno = value; }
}
private string _insuranceer = "";
/// <summary>
/// 保险人
/// </summary>
public string INSURANCEER
{
get { return _insuranceer; }
set { _insuranceer = value; }
}
private string _insuranceno = "";
/// <summary>
/// 保险单号
/// </summary>
public string INSURANCENO
{
get { return _insuranceno; }
set { _insuranceno = value; }
}
private decimal _inamout = 0;
/// <summary>
/// 保险金额
/// </summary>
public decimal INAMOUT
{
get { return _inamout; }
set { _inamout = value; }
}
private bool _isvou = false;
/// <summary>
/// 是否生成凭证
/// </summary>
public bool ISVOU
{
get { return _isvou; }
set { _isvou = value; }
}
private string _vouno = "";
/// <summary>
/// 凭证号
/// </summary>
public string VOUNO
{
get { return _vouno; }
set { _vouno = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _doc = "";
/// <summary>
/// 单证
/// </summary>
public string DOC
{
get { return _doc; }
set { _doc = value; }
}
#endregion
}
[JsonObject]
public class FeeTypeRefModel
{
private string _ISADVANCEDPAY = "0";
private decimal _TAXRATE = 0;
public string FeeCode { get; set; }
public string Name { get; set; }
public string DefaultCurr { get; set; }
public string Description { get; set; }
public string CodeAndName { get; set; }
public string DefaultDebit { get; set; }
public string DefaultCredit { get; set; }
public string DefaultDebitRef { get; set; }
public string DefaultCreditRef { get; set; }
public string DefaultUnit { get; set; }
public string FEETYPE { get; set; }
public string FEEFRT { get; set; }
public string ISADVANCEDPAY
{
get { return _ISADVANCEDPAY; }
set { _ISADVANCEDPAY = value; }
}
public decimal TAXRATE
{
get { return _TAXRATE; }
set { _TAXRATE = value; }
}
}
public class CtnTypeCode
{
public string CTNCODE { get; set; }
public string CTNTYPE { get; set; }
public string CTNSIZE { get; set; }
public string CTNALL { get; set; }
public string EDICODE { get; set; }
}
public class ServiceCode
{
public string SERVICE { get; set; }
public string EDICODE { get; set; }
}
public class FrtCode
{
public string FRT { get; set; }
public string EDICODE { get; set; }
}
public class Ctn
{
public string Ctnid { get; set; }
public string Cntrno { get; set; }
public string Sealno { get; set; }
public string CtnType { get; set; }
public string EdiCode { get; set; }
public int CtnNum { get; set; }
public decimal Pkgs { get; set; }
public decimal Kgs { get; set; }
public decimal Cbm { get; set; }
public int Teu { get; set; }
public string CTNCODE { get; set; }
public string CTNTYPE { get; set; }
public string CTNSIZE { get; set; }
public string CTNALL { get; set; }
}
public class JsonMscSwBResponse
{
public List<JsonMscSwBDataResponse> data { get; set; }
public string code { get; set; }
public string msg { get; set; }
}
public class JsonMscSwBDataResponse
{
public string mbn { get; set; }
public Int32 code { get; set; }
public details details { get; set; }
public string status { get; set; }
}
public class details
{
public string id { get; set; }
public string mbn { get; set; }
public string file_name { get; set; }
public string file_url { get; set; }
public string create_time { get; set; }
}
}