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/MvcShipping/Models/MsOpSeae/MsOpSeae.cs

3979 lines
96 KiB
C#

2 years ago
using System;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
using DSWeb.MvcShipping.Models.MsOpSeaeEdi;
using System.Reflection;
using DSWeb.MvcShipping.Models.MsChFee;
namespace DSWeb.MvcShipping.Models.MsOpSeae
{
[JsonObject]
public class MsOpSeae : ModelObjectBillHead
{
#region 读写属性
public string TRUCKSTATUS { get; set; }
public string COLOR { get; set; }
public string BillFeeStatus { get; set; }
private string _bsno = "topseae" + Guid.NewGuid().ToString();
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get{ return _bsno; }
set{ _bsno = value; }
}
private string _ordertype = "操作录入";
/// <summary>
/// 委托方式
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string ORDERTYPE
{
get{ return _ordertype; }
set{ _ordertype = value; }
}
private string _masterno = "";
/// <summary>
/// 主编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MASTERNO
{
get{ return _masterno; }
set{ _masterno = value; }
}
private string _custno = "";
/// <summary>
/// 委托编号
/// </summary>
[ModelDB]
public string CUSTNO
{
get{ return _custno; }
set{ _custno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
[ModelDB]
public string MBLNO
{
get{ return _mblno; }
set{ _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string HBLNO
{
get{ return _hblno; }
set{ _hblno = value; }
}
private string _applyno = "";
/// <summary>
/// 放箱申请单号
/// </summary>
[ModelDB]
public string APPLYNO
{
get { return _applyno; }
set { _applyno = value; }
}
private bool _bsstatus = false;
/// <summary>
/// 业务状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
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>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
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>
[ModelDB]
public DateTime BSDATE
{
get{ return _bsdate; }
set{ _bsdate = value; }
}
private string _accdate = DateTime.Now.ToString("yyyy-MM");
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get{ return _accdate; }
set{ _accdate = value; }
}
private string _customername = "";
/// <summary>
/// 委托单位
/// </summary>
[ModelDB]
public string CUSTOMERNAME
{
get{ return _customername; }
set{ _customername = value; }
}
private string _bssource = "";
/// <summary>
/// 业务来源
/// </summary>
[ModelDB]
public string BSSOURCE
{
get{ return _bssource; }
set{ _bssource = value; }
}
private string _bssourcedetail = "";
/// <summary>
/// 来源明细
/// </summary>
[ModelDB]
public string BSSOURCEDETAIL
{
get{ return _bssourcedetail; }
set{ _bssourcedetail = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get{ return _inputby; }
set{ _inputby = value; }
}
private string _op = "";
/// <summary>
/// 操作员
/// </summary>
[ModelDB]
public string OP
{
get{ return _op; }
set{ _op = value; }
}
private string _custservice = "";
/// <summary>
/// 客服员
/// </summary>
[ModelDB]
public string CUSTSERVICE
{
get{ return _custservice; }
set{ _custservice = value; }
}
private string _frcustservice = "";
/// <summary>
/// 海外客服员
/// </summary>
[ModelDB]
public string FRCUSTSERVICE
{
get { return _frcustservice; }
set { _frcustservice = value; }
}
private string _sale = "";
/// <summary>
/// 揽货人
/// </summary>
[ModelDB]
public string SALE
{
get{ return _sale; }
set{ _sale = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get{ return _corpid; }
set{ _corpid = value; }
}
private string _salecorpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB]
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>
[ModelDB]
public string SALEDEPT
{
get{ return _saledept; }
set{ _saledept = value; }
}
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME
{
get{ return _createtime; }
set{ _createtime = value; }
}
private string _transno = "";
/// <summary>
/// 运单号
/// </summary>
[ModelDB]
public string TRANSNO
{
get { return _transno; }
set { _transno = value; }
}
private string _vessel = "";
/// <summary>
/// 船名
/// </summary>
[ModelDB]
public string VESSEL
{
get{ return _vessel; }
set{ _vessel = value; }
}
private string _voyno = "";
/// <summary>
/// 航次
/// </summary>
[ModelDB]
public string VOYNO
{
get{ return _voyno; }
set{ _voyno = value; }
}
private string _etd;
/// <summary>
/// 开船日期
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _atd;
/// <summary>
/// 实际开船日期
/// </summary>
[ModelDB]
public string ATD
{
get { return _atd; }
set { _atd = value; }
}
private string _deliverydate=null;
/// <summary>
/// 交货日期
/// </summary>
[ModelDB]
public string DELIVERYDATE
{
get { return _deliverydate; }
set { _deliverydate = value; }
}
private string _closingdate;
/// <summary>
/// 截港日期
/// </summary>
[ModelDB]
public string CLOSINGDATE
{
get { return _closingdate; }
set { _closingdate = value; }
}
private string _eta;
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _placereceipt = "";
/// <summary>
/// 收货地
/// </summary>
[ModelDB]
public string PLACERECEIPT
{
get { return _placereceipt; }
set { _placereceipt = value; }
}
private string _portloadid = "";
/// <summary>
/// 装货港代码
/// </summary>
[ModelDB]
public string PORTLOADID
{
get{ return _portloadid; }
set{ _portloadid = value; }
}
private string _portload = "";
/// <summary>
/// 装货港
/// </summary>
[ModelDB]
public string PORTLOAD
{
get{ return _portload; }
set{ _portload = value; }
}
private string _TRANSPORT = "";
/// <summary>
/// 中转港
/// </summary>
[ModelDB]
public string TRANSPORT
{
get { return _TRANSPORT; }
set { _TRANSPORT = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港代码
/// </summary>
[ModelDB]
public string PORTDISCHARGEID
{
get{ return _portdischargeid; }
set{ _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get{ return _portdischarge; }
set{ _portdischarge = value; }
}
private string _placedeliveryid = "";
/// <summary>
/// 交货地代码
/// </summary>
[ModelDB]
public string PLACEDELIVERYID
{
get { return _placedeliveryid; }
set { _placedeliveryid = value; }
}
private string _placedelivery = "";
/// <summary>
/// 交货地
/// </summary>
[ModelDB]
public string PLACEDELIVERY
{
get { return _placedelivery; }
set { _placedelivery = value; }
}
private string _destinationid = "";
/// <summary>
/// 目的地代码
/// </summary>
[ModelDB]
public string DESTINATIONID
{
get { return _destinationid; }
set { _destinationid = value; }
}
private string _destination = "";
/// <summary>
/// 目的地
/// </summary>
[ModelDB]
public string DESTINATION
{
get { return _destination; }
set { _destination = value; }
}
private string _nobill = "";
/// <summary>
/// 提单份数
/// </summary>
[ModelDB]
public string NOBILL
{
get { return _nobill; }
set { _nobill = value; }
}
private string _copynobill = "";
/// <summary>
/// 提单份数
/// </summary>
[ModelDB]
public string COPYNOBILL
{
get { return _copynobill; }
set { _copynobill = value; }
}
private string _issuetype = "";
/// <summary>
/// 签单方式
/// </summary>
[ModelDB]
public string ISSUETYPE
{
get { return _issuetype; }
set { _issuetype = value; }
}
private string _issuedate;
/// <summary>
/// 签单日期
/// </summary>
[ModelDB]
public string ISSUEDATE
{
get { return _issuedate; }
set { _issuedate = value; }
}
private string _issueplace = "";
/// <summary>
/// 签单地点
/// </summary>
[ModelDB]
public string ISSUEPLACE
{
get { return _issueplace; }
set { _issueplace = value; }
}
private string _bltype = "整箱";
/// <summary>
/// 装运方式
/// </summary>
[ModelDB]
public string BLTYPE
{
get { return _bltype; }
set { _bltype = value; }
}
private string _shipperid = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERID
{
get{ return _shipperid; }
set{ _shipperid = value; }
}
private string _consigneeid = "";
/// <summary>
/// 收货人
/// </summary>
[ModelDB]
public string CONSIGNEEID
{
get{ return _consigneeid; }
set{ _consigneeid = value; }
}
private string _notifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTYID
{
get{ return _notifypartyid; }
set{ _notifypartyid = value; }
}
private string _shipper = "";
/// <summary>
/// 发货人内容
/// </summary>
[ModelDB]
public string SHIPPER
{
get{ return _shipper; }
set{ _shipper = value; }
}
private string _consignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string CONSIGNEE
{
get{ return _consignee; }
set{ _consignee = value; }
}
private string _notifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
[ModelDB]
public string NOTIFYPARTY
{
get{ return _notifyparty; }
set{ _notifyparty = value; }
}
private string _mshipperid = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string MSHIPPERID
{
get { return _mshipperid; }
set { _mshipperid = value; }
}
private string _mconsigneeid = "";
/// <summary>
/// 收货人
/// </summary>
[ModelDB]
public string MCONSIGNEEID
{
get { return _mconsigneeid; }
set { _mconsigneeid = value; }
}
private string _mnotifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string MNOTIFYPARTYID
{
get { return _mnotifypartyid; }
set { _mnotifypartyid = value; }
}
private string _mshipper = "";
/// <summary>
/// 发货人内容
/// </summary>
[ModelDB]
public string MSHIPPER
{
get { return _mshipper; }
set { _mshipper = value; }
}
private string _mconsignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string MCONSIGNEE
{
get { return _mconsignee; }
set { _mconsignee = value; }
}
private string _mnotifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
[ModelDB]
public string MNOTIFYPARTY
{
get { return _mnotifyparty; }
set { _mnotifyparty = value; }
}
private string _agentid = "";
/// <summary>
/// 国外代理
/// </summary>
[ModelDB]
public string AGENTID
{
get{ return _agentid; }
set{ _agentid = value; }
}
private string _agent = "";
/// <summary>
/// 国外代理内容
/// </summary>
[ModelDB]
public string AGENT
{
get{ return _agent; }
set{ _agent = value; }
}
private string _yard = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
[ModelDB]
public string YARD
{
get{ return _yard; }
set{ _yard = value; }
}
private string _yardattn = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
[ModelDB]
public string YARDATTN
{
get { return _yardattn; }
set { _yardattn = value; }
}
private string _yardtel = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
[ModelDB]
public string YARDTEL
{
get { return _yardtel; }
set { _yardtel = value; }
}
private string _blfrt = "FREIGHT PREPAID";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string BLFRT
{
get{ return _blfrt; }
set{ _blfrt = value; }
}
private string _prepardat = "";
/// <summary>
/// 预付地点
/// </summary>
[ModelDB]
public string PREPARDAT
{
get{ return _prepardat; }
set{ _prepardat = value; }
}
private string _payableat = "";
/// <summary>
/// 到付地点
/// </summary>
[ModelDB]
public string PAYABLEAT
{
get{ return _payableat; }
set{ _payableat = value; }
}
private string _prepardatid = "";
/// <summary>
/// 付款地代码
/// </summary>
[ModelDB]
public string PREPARDATID
{
get { return _prepardatid; }
set { _prepardatid = value; }
}
private string _service = "CY-CY";
/// <summary>
/// 运输条款
/// </summary>
[ModelDB]
public string SERVICE
{
get{ return _service; }
set{ _service = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
[ModelDB]
public string MARKS
{
get{ return _marks; }
set{ _marks = value; }
}
private string _cntrsealno = "";
/// <summary>
/// 箱号封号
/// </summary>
[ModelDB]
public string CNTRSEALNO
{
get{ return _cntrsealno; }
set{ _cntrsealno = value; }
}
private string _nopkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string NOPKGS
{
get{ return _nopkgs; }
set{ _nopkgs = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get{ return _description; }
set{ _description = value; }
}
private string _grossweight = "";
/// <summary>
/// 货物毛重
/// </summary>
[ModelDB]
public string GROSSWEIGHT
{
get{ return _grossweight; }
set{ _grossweight = value; }
}
private string _measurement = "";
/// <summary>
/// 货物尺码
/// </summary>
[ModelDB]
public string MEASUREMENT
{
get{ return _measurement; }
set{ _measurement = value; }
}
private string _pkgs = "0";
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public string PKGS
{
get{ return _pkgs; }
set{ _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get{ return _kindpkgs; }
set{ _kindpkgs = value; }
}
private string _cbm ="0";
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public string CBM
{
get{ return _cbm; }
set{ _cbm = value; }
}
private string _totalno = "";
/// <summary>
/// 件数大写
/// </summary>
[ModelDB]
public string TOTALNO
{
get{ return _totalno; }
set{ _totalno = value; }
}
private string _cntrno = "";
/// <summary>
/// 集装箱大写
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private int _cntr1 = 0;
/// <summary>
/// 箱型1
/// </summary>
[ModelDB]
public int CNTR1
{
get { return _cntr1; }
set { _cntr1 = value; }
}
private int _cntr2 = 0;
/// <summary>
/// 箱型2
/// </summary>
[ModelDB]
public int CNTR2
{
get { return _cntr2; }
set { _cntr2 = value; }
}
private int _cntr3 = 0;
/// <summary>
/// 箱型3
/// </summary>
[ModelDB]
public int CNTR3
{
get { return _cntr3; }
set { _cntr3 = value; }
}
private int _cntr4 = 0;
/// <summary>
/// 箱型4
/// </summary>
[ModelDB]
public int CNTR4
{
get { return _cntr4; }
set { _cntr4 = value; }
}
private int _cntr5 = 0;
/// <summary>
/// 箱型5
/// </summary>
[ModelDB]
public int CNTR5
{
get { return _cntr5; }
set { _cntr5 = value; }
}
private int _cntr6 = 0;
/// <summary>
/// 箱型6
/// </summary>
[ModelDB]
public int CNTR6
{
get { return _cntr6; }
set { _cntr6 = value; }
}
private int _cntr7 = 0;
/// <summary>
/// 箱型7
/// </summary>
[ModelDB]
public int CNTR7
{
get { return _cntr7; }
set { _cntr7 = value; }
}
private int _cntr8 = 0;
/// <summary>
/// 箱型8
/// </summary>
[ModelDB]
public int CNTR8
{
get { return _cntr8; }
set { _cntr8 = value; }
}
private int _cntr9 = 0;
/// <summary>
/// 箱型9
/// </summary>
[ModelDB]
public int CNTR9
{
get { return _cntr9; }
set { _cntr9 = value; }
}
private int _cntr10 = 0;
/// <summary>
/// 箱型10
/// </summary>
[ModelDB]
public int CNTR10
{
get { return _cntr10; }
set { _cntr10 = value; }
}
private int _otcntr = 0;
/// <summary>
/// 其他箱型
/// </summary>
[ModelDB]
public int OTCNTR
{
get { return _otcntr; }
set { _otcntr = value; }
}
private int _teu = 0;
/// <summary>
/// 箱TEU
/// </summary>
[ModelDB]
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _cntrtotal = "";
/// <summary>
/// 集装箱全部内容
/// </summary>
[ModelDB]
public string CNTRTOTAL
{
get { return _cntrtotal; }
set { _cntrtotal = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _contractno = "";
/// <summary>
/// 合同号/运费协议号
/// </summary>
[ModelDB]
public string CONTRACTNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _kgs ="0";
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public string KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private string _customser = "";
/// <summary>
/// 报关行
/// </summary>
[ModelDB]
public string CUSTOMSER
{
get { return _customser; }
set { _customser = value; }
}
private string _lane = "";
/// <summary>
/// 航线
/// </summary>
[ModelDB]
public string LANE
{
get{ return _lane; }
set{ _lane = value; }
}
private string _carrier = "";
/// <summary>
/// 船公司
/// </summary>
[ModelDB]
public string CARRIER
{
get{ return _carrier; }
set{ _carrier = value; }
}
private string _forwarder = "";
/// <summary>
/// 订舱公司
/// </summary>
[ModelDB]
public string FORWARDER
{
get{ return _forwarder; }
set{ _forwarder = value; }
}
private string _trucker = "";
/// <summary>
/// 承运车队
/// </summary>
[ModelDB]
public string TRUCKER
{
get{ return _trucker; }
set{ _trucker = value; }
}
private string _invno = "";
/// <summary>
/// 发票号
/// </summary>
[ModelDB]
public string INVNO
{
get{ return _invno; }
set{ _invno = value; }
}
private string _cargoid = "";
/// <summary>
/// 货物标识
/// </summary>
[ModelDB]
public string CARGOID
{
get{ return _cargoid; }
set{ _cargoid = value; }
}
private string _dclass = "";
/// <summary>
/// 危险品分类/等级
/// </summary>
[ModelDB]
public string DCLASS
{
get{ return _dclass; }
set{ _dclass = value; }
}
private string _dunno = "";
/// <summary>
/// 危险品编号
/// </summary>
[ModelDB]
public string DUNNO
{
get{ return _dunno; }
set{ _dunno = value; }
}
private string _dpage = "";
/// <summary>
/// 危险品页号
/// </summary>
[ModelDB]
public string DPAGE
{
get { return _dpage; }
set { _dpage = value; }
}
private string _dlabel = "";
/// <summary>
/// 危险品标签
/// </summary>
[ModelDB]
public string DLABEL
{
get { return _dlabel; }
set { _dlabel = value; }
}
private string _linkman = "";
/// <summary>
/// 危险品联系人
/// </summary>
[ModelDB]
public string LINKMAN
{
get { return _linkman; }
set { _linkman = value; }
}
private string _reeferf = "";
/// <summary>
/// 冷藏通风量
/// </summary>
[ModelDB]
public string REEFERF
{
get{ return _reeferf; }
set{ _reeferf = value; }
}
private string _tempid = "";
/// <summary>
/// 温度单位
/// </summary>
[ModelDB]
public string TEMPID
{
get{ return _tempid; }
set{ _tempid = value; }
}
private string _tempset = "";
/// <summary>
/// 设置温度
/// </summary>
[ModelDB]
public string TEMPSET
{
get{ return _tempset; }
set{ _tempset = value; }
}
private string _tempmax = "";
/// <summary>
/// 最高温度
/// </summary>
[ModelDB]
public string TEMPMAX
{
get{ return _tempmax; }
set{ _tempmax = value; }
}
private string _tempmin = "";
/// <summary>
/// 最低温度
/// </summary>
[ModelDB]
public string TEMPMIN
{
get{ return _tempmin; }
set{ _tempmin = value; }
}
private string _HUMIDITY = "";
/// <summary>
/// 湿度
/// </summary>
[ModelDB]
public string HUMIDITY
{
get { return _HUMIDITY; }
set { _HUMIDITY = value; }
}
private int _customsnum = 0;
/// <summary>
/// 报关票数
/// </summary>
[ModelDB]
public int CUSTOMSNUM
{
get{ return _customsnum; }
set{ _customsnum = value; }
}
private int _PRERECORD = 0;
/// <summary>
/// 预录票数
/// </summary>
[ModelDB]
public int PRERECORD
{
get { return _PRERECORD; }
set { _PRERECORD = value; }
}
private string _ordtype = "";
/// <summary>
/// 订舱类型
/// </summary>
[ModelDB]
public string ORDTYPE
{
get{ return _ordtype; }
set{ _ordtype = value; }
}
private string _orderno = "";
/// <summary>
/// 订舱编号
/// </summary>
[ModelDB]
public string ORDERNO
{
get{ return _orderno; }
set{ _orderno = value; }
}
private string _insuranceer = "";
/// <summary>
/// 保险人
/// </summary>
[ModelDB]
public string INSURANCEER
{
get{ return _insuranceer; }
set{ _insuranceer = value; }
}
private string _insuranceno = "";
/// <summary>
/// 保险单号
/// </summary>
[ModelDB]
public string INSURANCENO
{
get{ return _insuranceno; }
set{ _insuranceno = value; }
}
private decimal _inamout = 0;
/// <summary>
/// 保险金额
/// </summary>
[ModelDB]
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>
[ModelDB]
public string REMARK
{
get{ return _remark; }
set{ _remark = value; }
}
private bool _status1 = false;
/// <summary>
/// 状态1
/// </summary>
[ModelDB]
public bool STATUS1
{
get{ return _status1; }
set{ _status1 = value; }
}
private bool _status2 = false;
/// <summary>
/// 状态2
/// </summary>
[ModelDB]
public bool STATUS2
{
get{ return _status2; }
set{ _status2 = value; }
}
private bool _status3 = false;
/// <summary>
/// 状态3
/// </summary>
[ModelDB]
public bool STATUS3
{
get{ return _status3; }
set{ _status3 = value; }
}
private bool _status4 = false;
/// <summary>
/// 状态4
/// </summary>
[ModelDB]
public bool STATUS4
{
get{ return _status4; }
set{ _status4 = value; }
}
private bool _status5 = false;
/// <summary>
/// 状态5
/// </summary>
[ModelDB]
public bool STATUS5
{
get{ return _status5; }
set{ _status5 = value; }
}
private bool _isfumigation = false;
/// <summary>
/// 熏蒸
/// </summary>
[ModelDB]
public bool ISFUMIGATION
{
get{ return _isfumigation; }
set{ _isfumigation = value; }
}
private bool _isstorage = false;
/// <summary>
/// 仓储
/// </summary>
[ModelDB]
public bool ISSTORAGE
{
get{ return _isstorage; }
set{ _isstorage = value; }
}
private bool _island = false;
/// <summary>
/// 陆运
/// </summary>
[ModelDB]
public bool ISLAND
{
get{ return _island; }
set{ _island = value; }
}
private bool _iscustoms = false;
/// <summary>
/// 报关
/// </summary>
[ModelDB]
public bool ISCUSTOMS
{
get{ return _iscustoms; }
set{ _iscustoms = value; }
}
private bool _isinspection = false;
/// <summary>
/// 报检
/// </summary>
[ModelDB]
public bool ISINSPECTION
{
get{ return _isinspection; }
set{ _isinspection = value; }
}
private bool _isbooking = false;
/// <summary>
/// 订舱
/// </summary>
[ModelDB]
public bool ISBOOKING
{
get{ return _isbooking; }
set{ _isbooking = value; }
}
private bool _isagent = false;
/// <summary>
/// 使用代理
/// </summary>
[ModelDB]
public bool ISAGENT
{
get{ return _isagent; }
set{ _isagent = value; }
}
private bool _ishblno = false;
/// <summary>
/// 分单签单
/// </summary>
[ModelDB]
public bool ISHBLNO
{
get{ return _ishblno; }
set{ _ishblno = value; }
}
private bool _service9 = false;
/// <summary>
/// 服务项目9
/// </summary>
[ModelDB]
public bool SERVICE9
{
get{ return _service9; }
set{ _service9 = value; }
}
private bool _service10 = false;
/// <summary>
/// 服务项目10
/// </summary>
[ModelDB]
public bool SERVICE10
{
get{ return _service10; }
set{ _service10 = value; }
}
private string _doc = "";
/// <summary>
/// 单证
/// </summary>
[ModelDB]
public string DOC
{
get{ return _doc; }
set{ _doc = value; }
}
private string _packingtype = "";
/// <summary>
/// 装箱类型
/// </summary>
[ModelDB]
public string PACKINGTYPE
{
get{ return _packingtype; }
set{ _packingtype = value; }
}
private string _warehouse = "";
/// <summary>
/// 仓库
/// </summary>
[ModelDB]
public string WAREHOUSE
{
get { return _warehouse; }
set { _warehouse = value; }
}
private string _closedocdate;
/// <summary>
/// 截单日期
/// </summary>
[ModelDB]
public string CLOSEDOCDATE
{
get{ return _closedocdate; }
set{ _closedocdate = value; }
}
private string _intoportdate;
/// <summary>
/// 集港日期
/// </summary>
[ModelDB]
public string INTOPORTDATE
{
get{ return _intoportdate; }
set{ _intoportdate = value; }
}
private string _mblfrt = "";
/// <summary>
/// MBL付费方式
/// </summary>
[ModelDB]
public string MBLFRT
{
get{ return _mblfrt; }
set{ _mblfrt = value; }
}
private string _stlname = "";
/// <summary>
/// 结算方式
/// </summary>
[ModelDB]
public string STLNAME
{
get{ return _stlname; }
set{ _stlname = value; }
}
private string _stldate;
/// <summary>
/// 结算时间
/// </summary>
[ModelDB]
public string STLDATE
{
get{ return _stldate; }
set{ _stldate = value; }
}
private string _operatorcode = "";
/// <summary>
/// 客户操作代码
/// </summary>
[ModelDB]
public string OPERATORCODE
{
get{ return _operatorcode; }
set{ _operatorcode = value; }
}
private string _operator = "";
/// <summary>
/// 客户操作名称
/// </summary>
[ModelDB]
public string OPERATOR
{
get{ return _operator; }
set{ _operator = value; }
}
private string _operatoremail = "";
/// <summary>
/// 操作电子邮箱
/// </summary>
[ModelDB]
public string OPERATOREMAIL
{
get{ return _operatoremail; }
set{ _operatoremail = value; }
}
private string _operatortel = "";
/// <summary>
/// 操作电话
/// </summary>
[ModelDB]
public string OPERATORTEL
{
get{ return _operatortel; }
set{ _operatortel = value; }
}
private string _operatorfax = "";
/// <summary>
/// 操作传真
/// </summary>
[ModelDB]
public string OPERATORFAX
{
get{ return _operatorfax; }
set{ _operatorfax = value; }
}
private string _financialstaffcode = "";
/// <summary>
/// 客户财务代码
/// </summary>
[ModelDB]
public string FINANCIALSTAFFCODE
{
get{ return _financialstaffcode; }
set{ _financialstaffcode = value; }
}
private string _financialstaff = "";
/// <summary>
/// 客户财务名称
/// </summary>
[ModelDB]
public string FINANCIALSTAFF
{
get{ return _financialstaff; }
set{ _financialstaff = value; }
}
private string _financialstaffemail = "";
/// <summary>
/// 财务电子邮箱
/// </summary>
[ModelDB]
public string FINANCIALSTAFFEMAIL
{
get{ return _financialstaffemail; }
set{ _financialstaffemail = value; }
}
private string _financialstafftel = "";
/// <summary>
/// 财务电话
/// </summary>
[ModelDB]
public string FINANCIALSTAFFTEL
{
get{ return _financialstafftel; }
set{ _financialstafftel = value; }
}
private string _financialstafffax = "";
/// <summary>
/// 财务传真
/// </summary>
[ModelDB]
public string FINANCIALSTAFFFAX
{
get{ return _financialstafffax; }
set{ _financialstafffax = value; }
}
private string _placereceiptid = "";
/// <summary>
/// 收货地代码
/// </summary>
[ModelDB]
public string PLACERECEIPTID
{
get{ return _placereceiptid; }
set{ _placereceiptid = value; }
}
private string _sourcecode = "";
/// <summary>
/// 集装箱(器)来源代码
/// </summary>
[ModelDB]
public string SOURCECODE
{
get{ return _sourcecode; }
set{ _sourcecode = value; }
}
private bool _iscontainersoc = false;
/// <summary>
/// 货主箱标志,是否自有箱
/// </summary>
[ModelDB]
public bool ISCONTAINERSOC
{
get{ return _iscontainersoc; }
set{ _iscontainersoc = value; }
}
private string _vesselid = "";
/// <summary>
/// 船舶呼号
/// </summary>
[ModelDB]
public string VESSELID
{
get{ return _vesselid; }
set{ _vesselid = value; }
}
private string _issueplaceid = "";
/// <summary>
/// 提单签发地代码
/// </summary>
[ModelDB]
public string ISSUEPLACEID
{
get{ return _issueplaceid; }
set{ _issueplaceid = value; }
}
private string _hscode = "";
/// <summary>
/// HS编码
/// </summary>
[ModelDB]
public string HSCODE
{
get { return _hscode; }
set { _hscode = value; }
}
private string _transtatus = "";
/// <summary>
/// 出运状态
/// </summary>
[ModelDB]
public string TRANSTATUS
{
get { return _transtatus; }
set { _transtatus = value; }
}
private string _ediremark = "";
/// <summary>
/// EDI备注
/// </summary>
[ModelDB]
public string EDIREMARK
{
get { return _ediremark; }
set { _ediremark = value; }
}
private string _SERVICECONTRACTNO = "";
[ModelDB]
public string SERVICECONTRACTNO
{
get { return _SERVICECONTRACTNO; }
set { _SERVICECONTRACTNO = value; }
}
private string _CUSTOMNO = "";//报关单号
private string _CUSTOMDATE = null;//报关日期
private string _INSPECTIONNO = "";//报检单号
private string _INSPECTIONDATE = null;//报检日期
private string _ENTERP = "";//
private string _ENTERPID = "";//
[ModelDB]
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
[ModelDB]
public string CUSTOMDATE { get { return _CUSTOMDATE; } set { _CUSTOMDATE = value; } }
[ModelDB]
public string INSPECTIONNO { get { return _INSPECTIONNO; } set { _INSPECTIONNO = value; } }
[ModelDB]
public string INSPECTIONDATE { get { return _INSPECTIONDATE; } set { _INSPECTIONDATE = value; } }
[ModelDB]
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
[ModelDB]
public string ENTERPID { get { return _ENTERPID; } set { _ENTERPID = value; } }
private string _CLEARCUSTOMDATE = null;//报关日期
private string _TERMSDELIVERY = "";//
private string _INSPECTSERVICE = "";//
private bool _ISMOREGOOD = false;
[ModelDB]
public string CLEARCUSTOMDATE { get { return _CLEARCUSTOMDATE; } set { _CLEARCUSTOMDATE = value; } }
[ModelDB]
public string TERMSDELIVERY { get { return _TERMSDELIVERY; } set { _TERMSDELIVERY = value; } }
[ModelDB]
public string INSPECTSERVICE { get { return _INSPECTSERVICE; } set { _INSPECTSERVICE = value; } }
/// <summary>
/// 多品名
/// </summary>
[ModelDB]
public bool ISMOREGOOD { get { return _ISMOREGOOD; } set { _ISMOREGOOD = value; } }
private string _tradeterm = "";
/// <summary>
/// 贸易条款
/// </summary>
[ModelDB]
public string TRADETERM
{
get { return _tradeterm; }
set { _tradeterm = value; }
}
private string _DRFEESTATUS = "";
private string _CRFEESTATUS = "";
public string DRFEESTATUS { get { return _DRFEESTATUS; } set { _DRFEESTATUS = value; } }
public string CRFEESTATUS { get { return _CRFEESTATUS; } set { _CRFEESTATUS = value; } }
private string _DRINVSTATUS = "";
public string DRINVSTATUS { get { return _DRINVSTATUS; } set { _DRINVSTATUS = value; } }
public string DRDUISTATUS { set; get; }
public string CRINVSTATUS { get; set; }
public string CRDUISTATUS { set; get; }
private string _SHIPAGENCY = "";
/// <summary>
/// 船代
/// </summary>
[ModelDB]
public string SHIPAGENCY
{
get { return _SHIPAGENCY; }
set { _SHIPAGENCY = value; }
}
private string _ISPRINTPR = "0";
public string ISPRINTPR
{
get { return _ISPRINTPR; }
set { _ISPRINTPR = value; }
}
private string _BLISSUESTATUS = "";
public string BLISSUESTATUS
{
get { return _BLISSUESTATUS; }
set { _BLISSUESTATUS = value; }
}
private string _iscancel ="";
/// <summary>
/// 是否退舱
/// </summary>
public string ISCANCEL
{
get { return _iscancel; }
set { _iscancel = value; }
}
private string _istui = "";
/// <summary>
/// 是否推航次
/// </summary>
public string ISTUI
{
get { return _istui; }
set { _istui = value; }
}
private string _vessel2n = "";
/// <summary>
/// 二程船名
/// </summary>
[ModelDB]
public string VESSEL2N
{
get { return _vessel2n; }
set { _vessel2n = value; }
}
private string _voyno2n = "";
/// <summary>
/// 二程航次
/// </summary>
[ModelDB]
public string VOYNO2N
{
get { return _voyno2n; }
set { _voyno2n = value; }
}
private string _MAILPROJECT = "";
[ModelDB]
public string MAILPROJECT
{
get { return _MAILPROJECT; }
set { _MAILPROJECT = value; }
}
private string _vesselid2n = "";
/// <summary>
/// 二程船舶呼号
/// </summary>
[ModelDB]
public string VESSELID2N
{
get { return _vesselid2n; }
set { _vesselid2n = value; }
}
public int CUSTOMSSTATUS { get; set; }
public int PORTSTATUS { get; set; }
public int EXPSTATUS { get; set; }
public int TRUCKCTNSTATUS { get; set; }
public int CTNRETURNSTATUS { get; set; }
public int ATASTATUS { get; set; }
public int STCSSTATUS { get; set; }
public int HGYDSTATUS { get; set; }
public int RCVESTATUS { get; set; }
private bool _ISGAIQIAN = false;
/// <summary>
/// 是否改签
/// </summary>
[ModelDB]
public bool ISGAIQIAN
{
get { return _ISGAIQIAN; }
set { _ISGAIQIAN = value; }
}
private int _WARNCOUNT = 0;
/// <summary>
/// 提醒数量
/// </summary>
[ModelDB]
public int WARNCOUNT
{
get { return _WARNCOUNT; }
set { _WARNCOUNT = value; }
}
public string TRANSREMARK { get; set; }
public string NODAY { get; set; }
public string YJCR { get; set; }
public string HYFDR { get; set; }
public string HYFCR { get; set; }
public string BGFDR { get; set; }
2 years ago
public string TTLPROFIT { get; set; }
public string PROFITRATE { get; set; }
2 years ago
public string GROUPBS { get; set; }
2 years ago
[ModelDB]
public string IRCODE { get; set; }
2 years ago
private string _mdescription = "";
/// <summary>
/// 主单货物描述
/// </summary>
[ModelDB]
public string MDESCRIPTION
{
get { return _mdescription; }
set { _mdescription = value; }
}
public string COUNTRY { get; set; }
#endregion
public MsOpSeae()
{
TableName = "op_seae";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class MsOpSeaeSum : ModelObjectBillHead
{
#region 读写属性
private int _nobill =0;
/// <summary>
/// 提单份数
/// </summary>
public int NOBILL
{
get { return _nobill; }
set { _nobill = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 毛重
/// </summary>
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
public decimal CBM
{
get { return _cbm; }
set { _cbm = 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; }
}
#endregion
}
[JsonObject]
public class MsOpSeaeAms : ModelObjectBillHead
{
#region 读写属性
private string _AMSNO = "*";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string AMSNO
{
get { return _AMSNO; }
set { _AMSNO = value; }
}
private string _bsno = "";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
private string _amsshipper = "";
/// <summary>
/// 发货人内容
/// </summary>
[ModelDB]
public string AMSSHIPPER
{
get { return _amsshipper; }
set { _amsshipper = value; }
}
private string _amsconsignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string AMSCONSIGNEE
{
get { return _amsconsignee; }
set { _amsconsignee = value; }
}
/// <summary>
/// 企业代码类型
/// </summary>
[ModelDB]
public string ENTERPRISECODETYPE { get; set; }
[ModelDB]
public string ENTERPRISECODETYPE1 { get; set; }
[ModelDB]
public string ENTERPRISECODETYPE2 { get; set; }
1 year ago
[ModelDB]
public string DFLASH { get; set; }
[ModelDB]
public string DCPACKINGCODE { get; set; }
[ModelDB]
public string DCWEIGHT { get; set; }
[ModelDB]
public string PSNAME { get; set; }
[ModelDB]
public string MPCODE { get; set; }
[ModelDB]
public string PACKING_GROUP { get; set; }
2 years ago
/// <summary>
/// 通知人内容
/// </summary>
[ModelDB]
public string AMSNOTIFYPARTY { get; set; }
private string _dooraddr = "";
/// <summary>
/// </summary>
[ModelDB]
public string DOORADDR
{
get { return _dooraddr; }
set { _dooraddr = value; }
}
private string _BSNOLIST = "";
/// <summary>
/// </summary>
[ModelDB]
public string BSNOLIST
{
get { return _BSNOLIST; }
set { _BSNOLIST = value; }
}
private string _nvono = "";
/// <summary>
/// </summary>
[ModelDB]
public string NVONO
{
get { return _nvono; }
set { _nvono = value; }
}
private string _amscode = "";
/// <summary>
/// </summary>
[ModelDB]
public string AMSCODE
{
get { return _amscode; }
set { _amscode = value; }
}
private string _ORDERREMARK = "";
/// <summary>
/// </summary>
[ModelDB]
public string ORDERREMARK
{
get { return _ORDERREMARK; }
set { _ORDERREMARK = value; }
}
private string _SIREMARK = "";
/// <summary>
/// </summary>
[ModelDB]
public string SIREMARK
{
get { return _SIREMARK; }
set { _SIREMARK = value; }
}
private string _FORWARD = "";
/// <summary>
/// </summary>
[ModelDB]
public string FORWARD
{
get { return _FORWARD; }
set { _FORWARD = value; }
}
private string _FREIGHTPAYER = "";
[ModelDB]
public string FREIGHTPAYER
{
get { return _FREIGHTPAYER; }
set { _FREIGHTPAYER = value; }
}
private string _USAAMS = "";
/// <summary>
/// </summary>
[ModelDB]
public string USAAMS
{
get { return _USAAMS; }
set { _USAAMS = value; }
}
private string _CANADAAMS = "";
/// <summary>
/// </summary>
[ModelDB]
public string CANADAAMS
{
get { return _CANADAAMS; }
set { _CANADAAMS = value; }
}
private string _CONTRACTORCODE = "";
/// <summary>
/// </summary>
[ModelDB]
public string CONTRACTORCODE
{
get { return _CONTRACTORCODE; }
set { _CONTRACTORCODE = value; }
}
private string _ORDERNO= "";
/// <summary>
/// </summary>
[ModelDB]
public string ORDERNO
{
get { return _ORDERNO; }
set { _ORDERNO = value; }
}
private string _BYCOUNTRY = "";
/// <summary>
/// 所在国家
/// </summary>
[ModelDB]
public string BYCOUNTRY
{
get { return _BYCOUNTRY; }
set { _BYCOUNTRY = value; }
}
private string _DECLARER = "";
/// <summary>
/// </summary>
[ModelDB]
public string DECLARER
{
get { return _DECLARER; }
set { _DECLARER = value; }
}
private string _SCACCODE = "";
/// <summary>
/// </summary>
[ModelDB]
public string SCACCODE
{
get { return _SCACCODE; }
set { _SCACCODE = value; }
}
private string _GOODSNCM = "";
/// <summary>
/// </summary>
[ModelDB]
public string GOODSNCM
{
get { return _GOODSNCM; }
set { _GOODSNCM = value; }
}
private string _ITNCODE = "";
/// <summary>
/// </summary>
[ModelDB]
public string ITNCODE
{
get { return _ITNCODE; }
set { _ITNCODE = value; }
}
private string _CONSIGNEEPOSTCODE = "";
/// <summary>
/// </summary>
[ModelDB]
public string CONSIGNEEPOSTCODE
{
get { return _CONSIGNEEPOSTCODE; }
set { _CONSIGNEEPOSTCODE = value; }
}
private string _NOTIFYPARTYPOSTCODE = "";
/// <summary>
/// </summary>
[ModelDB]
public string NOTIFYPARTYPOSTCODE
{
get { return _NOTIFYPARTYPOSTCODE; }
set { _NOTIFYPARTYPOSTCODE = value; }
}
private string _CONSIGNEETAXNO = "";
/// <summary>
/// </summary>
[ModelDB]
public string CONSIGNEETAXNO
{
get { return _CONSIGNEETAXNO; }
set { _CONSIGNEETAXNO = value; }
}
private string _NOTIFYPARTYTAXNO = "";
/// <summary>
/// </summary>
[ModelDB]
public string NOTIFYPARTYTAXNO
{
get { return _NOTIFYPARTYTAXNO; }
set { _NOTIFYPARTYTAXNO = value; }
}
private string _CONSIGNEECOUNTRY = "";
/// <summary>
/// </summary>
[ModelDB]
public string CONSIGNEECOUNTRY
{
get { return _CONSIGNEECOUNTRY; }
set { _CONSIGNEECOUNTRY = value; }
}
private string _NOTIFYPARTYCOUNTRY = "";
/// <summary>
/// </summary>
[ModelDB]
public string NOTIFYPARTYCOUNTRY
{
get { return _NOTIFYPARTYCOUNTRY; }
set { _NOTIFYPARTYCOUNTRY = value; }
}
private string _ATTN= "";
[ModelDB]
public string ATTN
{
get { return _ATTN; }
set { _ATTN = value; }
}
private string _ATTNTEL = "";
[ModelDB]
public string ATTNTEL
{
get { return _ATTNTEL; }
set { _ATTNTEL = value; }
}
private string _ATTNEMAIL = "";
[ModelDB]
public string ATTNEMAIL
{
get { return _ATTNEMAIL; }
set { _ATTNEMAIL = value; }
}
private string _ATTNADDR = "";
[ModelDB]
public string ATTNADDR
{
get { return _ATTNADDR; }
set { _ATTNADDR = value; }
}
private decimal _KINGTAREWEIGHT = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public decimal KINGTAREWEIGHT
{
get { return _KINGTAREWEIGHT; }
set { _KINGTAREWEIGHT = value; }
}
private string _ShipperEdiCode = "";
/// <summary>
/// 发货人Edi代码
/// </summary>
[ModelDB]
public string ShipperEdiCode
{
get { return _ShipperEdiCode; }
set { _ShipperEdiCode = value; }
}
private string _ConsigneeEdiCode = "";
/// <summary>
/// 收货人Edi代码
/// </summary>
[ModelDB]
public string ConsigneeEdiCode
{
get { return _ConsigneeEdiCode; }
set { _ConsigneeEdiCode = value; }
}
private string _NotifypartyEdiCode = "";
/// <summary>
/// 通知人Edi代码
/// </summary>
[ModelDB]
public string NotifypartyEdiCode
{
get { return _NotifypartyEdiCode; }
set { _NotifypartyEdiCode = value; }
}
private string _SalesRepCode = "";
/// <summary>
/// 太平销售Edi代码
/// </summary>
[ModelDB]
public string SalesRepCode
{
get { return _SalesRepCode; }
set { _SalesRepCode = value; }
}
private string _MasterBOLIndicator = "";
/// <summary>
/// 分单发送人太平代码MasterBOLIndicator
/// </summary>
[ModelDB]
public string MasterBOLIndicator
{
get { return _MasterBOLIndicator; }
set { _MasterBOLIndicator = value; }
}
private string _ACIHBL = "";
/// <summary>
/// 加拿大分单号
/// </summary>
[ModelDB]
public string ACIHBL
{
get { return _ACIHBL; }
set { _ACIHBL = value; }
}
private string _S0CC0C = "";
/// <summary>
/// 加拿大货物混装描述
/// </summary>
[ModelDB]
public string S0CC0C
{
get { return _S0CC0C; }
set { _S0CC0C = value; }
}
private string _cKHI = "";
/// <summary>
/// 欧盟港口、伊朗港口、KHI
/// </summary>
[ModelDB]
public string cKHI
{
get { return _cKHI; }
set { _cKHI = value; }
}
private string _cNCM = "";
/// <summary>
/// 南美东
/// </summary>
[ModelDB]
public string cNCM
{
get { return _cNCM; }
set { _cNCM = value; }
}
private string _wNCM = "";
/// <summary>
/// 巴西线的木质包装情况
/// </summary>
[ModelDB]
public string wNCM
{
get { return _wNCM; }
set { _wNCM = value; }
}
private string _ACICODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string ACICODE
{
get { return _ACICODE; }
set { _ACICODE = value; }
}
private string _TACCODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string TACCODE
{
get { return _TACCODE; }
set { _TACCODE = value; }
}
private string _ERNCODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string ERNCODE
{
get { return _ERNCODE; }
set { _ERNCODE = value; }
}
private string _VAECODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string VAECODE
{
get { return _VAECODE; }
set { _VAECODE = value; }
}
private string _FECCODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string FECCODE
{
get { return _FECCODE; }
set { _FECCODE = value; }
}
private string _ESLLINECODE = "";
/// <summary>
///
/// </summary>
[ModelDB]
public string ESLLINECODE
{
get { return _ESLLINECODE; }
set { _ESLLINECODE = value; }
}
private string _NOTIFYPARTYID2 = "";
/// <summary>
/// Also Notify Party第二通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTYID2
{
get { return _NOTIFYPARTYID2; }
set { _NOTIFYPARTYID2 = value; }
}
private string _shippername = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERNAME
{
get { return _shippername; }
set { _shippername = value; }
}
private string _shippercode = "";
/// <summary>
/// 发货人CODE
/// </summary>
[ModelDB]
public string SHIPPERCODE
{
get { return _shippercode; }
set { _shippercode = value; }
}
private string _shipperaddr1 = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERADDR1
{
get { return _shipperaddr1; }
set { _shipperaddr1 = value; }
}
private string _shipperaddr2 = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERADDR2
{
get { return _shipperaddr2; }
set { _shipperaddr2 = value; }
}
private string _shipperaddr3 = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERADDR3
{
get { return _shipperaddr3; }
set { _shipperaddr3 = value; }
}
private string _shippercity = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERCITY
{
get { return _shippercity; }
set { _shippercity = value; }
}
private string _shipperprovice = "";
[ModelDB]
public string SHIPPERPROVINCE
{
get { return _shipperprovice; }
set { _shipperprovice = value; }
}
private string _shipperpostcode = "";
[ModelDB]
public string SHIPPERPOSTCODE
{
get { return _shipperpostcode; }
set { _shipperpostcode = value; }
}
private string _shippercountry = "CN";
[ModelDB]
public string SHIPPERCOUNTRY
{
get { return _shippercountry; }
set { _shippercountry = value; }
}
private string _shipperattn = "";
[ModelDB]
public string SHIPPERATTN
{
get { return _shipperattn; }
set { _shipperattn = value; }
}
private string _shippertel = "";
[ModelDB]
public string SHIPPERTEL
{
get { return _shippertel; }
set { _shippertel = value; }
}
private string _shipperemail = "";
[ModelDB]
public string SHIPPEREMAIL
{
get { return _shipperemail; }
set { _shipperemail = value; }
}
private string _consigneecode = "";
/// <summary>
/// 收货人CODE
/// </summary>
[ModelDB]
public string CONSIGNEECODE
{
get { return _consigneecode; }
set { _consigneecode = value; }
}
private string _consigneename = "";
/// <summary>
/// 收货人
/// </summary>
[ModelDB]
public string CONSIGNEENAME
{
get { return _consigneename; }
set { _consigneename = value; }
}
private string _consigneeaddr1 = "";
[ModelDB]
public string CONSIGNEEADDR1
{
get { return _consigneeaddr1; }
set { _consigneeaddr1 = value; }
}
private string _consigneeaddr2 = "";
[ModelDB]
public string CONSIGNEEADDR2
{
get { return _consigneeaddr2; }
set { _consigneeaddr2 = value; }
}
private string _consigneeaddr3 = "";
[ModelDB]
public string CONSIGNEEADDR3
{
get { return _consigneeaddr3; }
set { _consigneeaddr3 = value; }
}
private string _consigneecity = "";
[ModelDB]
public string CONSIGNEECITY
{
get { return _consigneecity; }
set { _consigneecity = value; }
}
private string _consigneeprovice = "";
[ModelDB]
public string CONSIGNEEPROVINCE
{
get { return _consigneeprovice; }
set { _consigneeprovice = value; }
}
private string _consigneeattn = "";
[ModelDB]
public string CONSIGNEEATTN
{
get { return _consigneeattn; }
set { _consigneeattn = value; }
}
private string _consigneetel = "";
[ModelDB]
public string CONSIGNEETEL
{
get { return _consigneetel; }
set { _consigneetel = value; }
}
private string _consigneeemail = "";
[ModelDB]
public string CONSIGNEEEMAIL
{
get { return _consigneeemail; }
set { _consigneeemail = value; }
}
private string _notifypartycode = "";
/// <summary>
/// 通知人CODE
/// </summary>
[ModelDB]
public string NOTIFYPARTYCODE
{
get { return _notifypartycode; }
set { _notifypartycode = value; }
}
private string _notifypartyname = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTYNAME
{
get { return _notifypartyname; }
set { _notifypartyname = value; }
}
private string _notifypartyaddr1 = "";
[ModelDB]
public string NOTIFYPARTYADDR1
{
get { return _notifypartyaddr1; }
set { _notifypartyaddr1 = value; }
}
private string _notifypartyaddr2 = "";
[ModelDB]
public string NOTIFYPARTYADDR2
{
get { return _notifypartyaddr2; }
set { _notifypartyaddr2 = value; }
}
private string _notifypartyaddr3 = "";
[ModelDB]
public string NOTIFYPARTYADDR3
{
get { return _notifypartyaddr3; }
set { _notifypartyaddr3 = value; }
}
private string _notifypartycity = "";
[ModelDB]
public string NOTIFYPARTYCITY
{
get { return _notifypartycity; }
set { _notifypartycity = value; }
}
private string _notifypartyprovice = "";
[ModelDB]
public string NOTIFYPARTYPROVINCE
{
get { return _notifypartyprovice; }
set { _notifypartyprovice = value; }
}
private string _notifypartyattn = "";
[ModelDB]
public string NOTIFYPARTYATTN
{
get { return _notifypartyattn; }
set { _notifypartyattn = value; }
}
private string _notifypartytel = "";
[ModelDB]
public string NOTIFYPARTYTEL
{
get { return _notifypartytel; }
set { _notifypartytel = value; }
}
private string _notifypartyemail = "";
[ModelDB]
public string NOTIFYPARTYEMAIL
{
get { return _notifypartyemail; }
set { _notifypartyemail = value; }
}
private string _FirstPortOfCallid = "";
/// <summary>
/// 第一个停靠港代码
/// </summary>
[ModelDB]
public string FIRSTPORTOFCALLID
{
get { return _FirstPortOfCallid; }
set { _FirstPortOfCallid = value; }
}
private string _FIRSTPORTOFCALLDATE = "";
/// <summary>
/// 第一个停靠港日期
/// </summary>
[ModelDB]
public string FIRSTPORTOFCALLDATE
{
get { return _FIRSTPORTOFCALLDATE; }
set { _FIRSTPORTOFCALLDATE = value; }
}
private string _LastPortOfCalid = "";
/// <summary>
/// 境外最后驶离港口代码
/// </summary>
[ModelDB]
public string LASTPORTOFCALLID
{
get { return _LastPortOfCalid; }
set { _LastPortOfCalid = value; }
}
private string _LASTPORTOFCALLDATE = "";
/// <summary>
/// 境外最后驶离港口日期
/// </summary>
[ModelDB]
public string LASTPORTOFCALLDATE
{
get { return _LASTPORTOFCALLDATE; }
set { _LASTPORTOFCALLDATE = value; }
}
private string _INLANE = "";
/// <summary>
/// 内贸线路
/// </summary>
[ModelDB]
public string INLANE
{
get { return _INLANE; }
set { _INLANE = value; }
}
private bool _USERAILWAY = false;
/// <summary>
/// 铁路
/// </summary>
[ModelDB]
public bool USERAILWAY
{
get { return _USERAILWAY; }
set { _USERAILWAY = value; }
}
private bool _USERIVER = false;
/// <summary>
/// 江河运输
/// </summary>
[ModelDB]
public bool USERIVER
{
get { return _USERIVER; }
set { _USERIVER = value; }
}
private bool _USETRUCK = false;
/// <summary>
/// 陆运运输
/// </summary>
[ModelDB]
public bool USETRUCK
{
get { return _USETRUCK; }
set { _USETRUCK = value; }
}
private string _RAILWAY_ETD;
/// <summary>
/// 铁路起运日期
/// </summary>
[ModelDB]
public string RAILWAY_ETD
{
get { return _RAILWAY_ETD; }
set { _RAILWAY_ETD = value; }
}
private string _RAILWAY_PORTLOAD;
/// <summary>
/// 铁路起运港
/// </summary>
[ModelDB]
public string RAILWAY_PORTLOAD
{
get { return _RAILWAY_PORTLOAD; }
set { _RAILWAY_PORTLOAD = value; }
}
private string _RAILWAY_TRANSPORT;
/// <summary>
/// 铁路中转港
/// </summary>
[ModelDB]
public string RAILWAY_TRANSPORT
{
get { return _RAILWAY_TRANSPORT; }
set { _RAILWAY_TRANSPORT = value; }
}
private string _RAILWAY_PORTDISCHARG;
/// <summary>
/// 铁路卸货港
/// </summary>
[ModelDB]
public string RAILWAY_PORTDISCHARG
{
get { return _RAILWAY_PORTDISCHARG; }
set { _RAILWAY_PORTDISCHARG = value; }
}
private string _RAILWAY_REMARK;
/// <summary>
/// 铁路备注
/// </summary>
[ModelDB]
public string RAILWAY_REMARK
{
get { return _RAILWAY_REMARK; }
set { _RAILWAY_REMARK = value; }
}
private string _RIVER_ETD;
/// <summary>
/// 江河起运日期
/// </summary>
[ModelDB]
public string RIVER_ETD
{
get { return _RIVER_ETD; }
set { _RIVER_ETD = value; }
}
private string _RIVER_PORTLOAD;
/// <summary>
/// 江河起运港
/// </summary>
[ModelDB]
public string RIVER_PORTLOAD
{
get { return _RIVER_PORTLOAD; }
set { _RIVER_PORTLOAD = value; }
}
private string _RIVER_TRANSPORT;
/// <summary>
/// 江河中转港
/// </summary>
[ModelDB]
public string RIVER_TRANSPORT
{
get { return _RIVER_TRANSPORT; }
set { _RIVER_TRANSPORT = value; }
}
private string _RIVER_PORTDISCHARG;
/// <summary>
/// 江河卸货港
/// </summary>
[ModelDB]
public string RIVER_PORTDISCHARG
{
get { return _RIVER_PORTDISCHARG; }
set { _RIVER_PORTDISCHARG = value; }
}
private string _RIVER_REMARK;
/// <summary>
/// 江河备注
/// </summary>
[ModelDB]
public string RIVER_REMARK
{
get { return _RIVER_REMARK; }
set { _RIVER_REMARK = value; }
}
private string _TRUCK_ETD;
/// <summary>
/// 陆运起运日期
/// </summary>
[ModelDB]
public string TRUCK_ETD
{
get { return _TRUCK_ETD; }
set { _TRUCK_ETD = value; }
}
private string _TRUCK_PORTLOAD;
/// <summary>
/// 陆运起运港
/// </summary>
[ModelDB]
public string TRUCK_PORTLOAD
{
get { return _TRUCK_PORTLOAD; }
set { _TRUCK_PORTLOAD = value; }
}
private string _TRUCK_TRANSPORT;
/// <summary>
/// 陆运中转港
/// </summary>
[ModelDB]
public string TRUCK_TRANSPORT
{
get { return _TRUCK_TRANSPORT; }
set { _TRUCK_TRANSPORT = value; }
}
private string _TRUCK_PORTDISCHARG;
/// <summary>
/// 陆运卸货港
/// </summary>
[ModelDB]
public string TRUCK_PORTDISCHARG
{
get { return _TRUCK_PORTDISCHARG; }
set { _TRUCK_PORTDISCHARG = value; }
}
private string _TRUCK_REMARK;
/// <summary>
/// 陆运备注
/// </summary>
[ModelDB]
public string TRUCK_REMARK
{
get { return _TRUCK_REMARK; }
set { _TRUCK_REMARK = value; }
}
private string _CDESCRIPTION;
/// <summary>
///舱单货描
/// </summary>
[ModelDB]
public string CDESCRIPTION
{
get { return _CDESCRIPTION; }
set { _CDESCRIPTION = value; }
}
#endregion
public MsOpSeaeAms()
{
TableName = "op_seae_ams";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class MsDsVgm
{
public string ac { get; set; }
public string uid { get; set; }
public string skey { get; set; }
public string optype { get; set; }
public MsOpSeaVgm mdata { get; set; }
public List<MsOpSeaVgmCtn> ctndata { get; set; }
}
[JsonObject]
public class MsOpSeaVgm
{
private string _MBLNO = "";
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
private string _CARRIER = "";
public string CARRIER
{
get { return _CARRIER; }
set { _CARRIER = value; }
}
private string _ETD = "";
public string ETD
{
get { return _ETD; }
set { _ETD = value; }
}
private string _ZongZhongLiang = "";
public string ZongZhongLiang
{
get { return _ZongZhongLiang; }
set { _ZongZhongLiang = value; }
}
private string _BeiZhu = "";
public string BeiZhu
{
get { return _BeiZhu; }
set { _BeiZhu = value; }
}
public string ChuanMing { get; set; }
public string HangCi { get; set; }
2 years ago
public string ORDERNO { get; set; }
public string VGMCLOSETIME { get; set; }
2 years ago
}
[JsonObject]
public class MsOpSeaVgmCtn
{
public string ChengZhongZhongLiang { get; set; }
public string ChengZhongShiJian { get; set; }
public string CTNALL { get; set; }
public string CNTRNO { get; set; }
public string SEALNO { get; set; }
}
[JsonObject]
public class MsDsEDI
{
public MDATA MDATA { get; set; }
public List<CTNDATA> CTNDATA { get; set; }
public MsDsEDI() { }
public MsDsEDI(MsOpSeaeEdi.MsOpSeaeEdi bill)
{
addMDATA(bill);
}
public static string getMFNOList(List<MsDsEDI> List) {
var _s = "";
if(List.Count>0)
foreach (var mdata in List) {
if (_s != "") _s += ",";
_s += mdata.MDATA.MFNO;
}
return _s;
}
//public MsDsEDI(List<MsOpSeaeEdi.MsOpSeaeEdi> billList)
//{
// foreach (var bill in billList) {
// addMDATA(bill);
// }
//}
private void addMDATA(MsOpSeaeEdi.MsOpSeaeEdi bill)
{
var data = new MDATA();
data.MFNO = bill.MFNO;//业务编号
data.MBLNO = bill.MBLNO;
data.HBLNO = bill.HBLNO;
data.ETD = bill.ETD;
data.FORWARDER = bill.FORWARDER;
data.VESSEL = bill.VESSEL;
data.VOYNO = bill.VOYNO;
data.CARRIER = bill.CARRIER;
data.SHIPPERNAME = bill.SHIPPERNAME;
data.SHIPPERADDR1 = bill.SHIPPERADDR1;
data.SHIPPERCOUNTRY = bill.SHIPPERCOUNTRY;
data.SHIPPERTEL = bill.SHIPPERTEL;
//bill.SHIPPERCODE;的内容是 USCI+91371202735758402C
//所以舱单的LEIXINGFA取 SHIPPERCODE的加号前面部分 SHIPPERCODE取后半部分 下同
data.LEIXINGFA = bill.SHIPPERCODE.Split('+')[0];
data.SHIPPERCODE = bill.SHIPPERCODE.Split('+')[1];
data.CONSIGNEENAME = bill.CONSIGNEENAME;
data.CONSIGNEEADDR1 = bill.CONSIGNEEADDR1;
data.CONSIGNEECOUNTRY = bill.CONSIGNEECOUNTRY;
data.CONSIGNEETEL = bill.CONSIGNEETEL;
data.LEIXINGSHOU = bill.CONSIGNEECODE.Split('+')[0];
data.CONSIGNEECODE = bill.CONSIGNEECODE.Split('+')[1];
data.NOTIFYPARTYNAME = bill.NOTIFYPARTYNAME;
data.NOTIFYPARTYADDR1 = bill.NOTIFYPARTYADDR1;
data.NOTIFYPARTYCOUNTRY = bill.NOTIFYPARTYCOUNTRY;
data.NOTIFYPARTYTEL = bill.NOTIFYPARTYTEL;
data.LEIXINGTONG = bill.NOTIFYPARTYCODE.Split('+')[0];
data.NOTIFYPARTYCODE = bill.NOTIFYPARTYCODE.Split('+')[1];
data.PORTLOAD = bill.PORTLOAD;
data.PORTLOADID = bill.PORTLOADID;
data.PORTDISCHARGE = bill.PORTDISCHARGE;
data.PORTDISCHARGEID = bill.PORTDISCHARGEID;
data.PLACEDELIVERY = bill.PLACEDELIVERY;
data.PLACEDELIVERYID = bill.PLACEDELIVERYID;
data.MARKS = bill.MARKS;
data.DESCRIPTION = bill.DESCRIPTION;
data.CARGOID = bill.CARGOID;
data.TEMPSET = bill.TEMPSET;
data.TEMPID = bill.TEMPID;
data.REEFERF = bill.REEFERF;
data.DCLASS = bill.DCLASS;
data.DUNNO = bill.DUNNO;
data.KINDPKGS = bill.KINDPKGS;
this.MDATA = data;
CTNDATA = new List<CTNDATA>();
}
//插入箱信息
public void addCtn(MsOpSeaeEdiCtn ctnno)
{
if (MDATA.MFNO == ctnno.MFNO) {
var ctn = new CTNDATA();
ctn.SIZE = ctnno.SIZE;
ctn.CTN = ctnno.CTN;
ctn.CTNALL = ctnno.CTNALL;
ctn.CNTRNO = ctnno.CNTRNO;
ctn.SEALNO = ctnno.SEALNO;
ctn.PKGS = ctnno.PKGS.ToString();
ctn.KINDPKGS = ctnno.KINDPKGS;
ctn.KGS = ctnno.KGS.ToString();
ctn.CBM = ctnno.CBM.ToString();
CTNDATA.Add(ctn);
}
}
}
[JsonObject]
public class MDATA
{
#region private Fields
private string _MBLNO = string.Empty;
private string _HBLNO = string.Empty;
private string _ETD = string.Empty;
private string _FORWARDER = string.Empty;
private string _VESSEL = string.Empty;
private string _VOYNO = string.Empty;
private string _CARRIER = string.Empty;
private string _SHIPPERNAME = string.Empty;
private string _SHIPPERADDR1 = string.Empty;
private string _SHIPPERCOUNTRY = string.Empty;
private string _SHIPPERTEL = string.Empty;
private string _LEIXINGFA = string.Empty;
private string _SHIPPERCODE = string.Empty;
private string _CONSIGNEENAME = string.Empty;
private string _CONSIGNEEADDR1 = string.Empty;
private string _CONSIGNEECOUNTRY = string.Empty;
private string _CONSIGNEETEL = string.Empty;
private string _LEIXINGSHOU = string.Empty;
private string _CONSIGNEECODE = string.Empty;
private string _NOTIFYPARTYNAME = string.Empty;
private string _NOTIFYPARTYADDR1 = string.Empty;
private string _NOTIFYPARTYCOUNTRY = string.Empty;
private string _NOTIFYPARTYTEL = string.Empty;
private string _LEIXINGTONG = string.Empty;
private string _NOTIFYPARTYCODE = string.Empty;
private string _PORTLOAD = string.Empty;
private string _PORTLOADID = string.Empty;
private string _PORTDISCHARGE = string.Empty;
private string _PORTDISCHARGEID = string.Empty;
private string _MARKS = string.Empty;
private string _DESCRIPTION = string.Empty;
private string _CARGOID = string.Empty;
private string _TEMPSET = string.Empty;
private string _TEMPID = string.Empty;
private string _REMARKS = string.Empty;
private string _KINDPKGS = string.Empty;
private string _PLACEDELIVERY = string.Empty;
private string _PLACEDELIVERYID = string.Empty;
#endregion
public string MFNO { get; set; }
#region public fields
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
public string HBLNO
{
get { return _HBLNO; }
set { _HBLNO = value; }
}
public string ETD
{
get { return _ETD; }
set { _ETD = value; }
}
public string FORWARDER
{
get { return _FORWARDER; }
set { _FORWARDER = value; }
}
public string VESSEL
{
get { return _VESSEL; }
set { _VESSEL = value; }
}
public string VOYNO
{
get { return _VOYNO; }
set { _VOYNO = value; }
}
public string CARRIER
{
get { return _CARRIER; }
set { _CARRIER = value; }
}
public string SHIPPERNAME
{
get { return _SHIPPERNAME; }
set { _SHIPPERNAME = value; }
}
public string SHIPPERADDR1
{
get { return _SHIPPERADDR1; }
set { _SHIPPERADDR1 = value; }
}
public string SHIPPERCOUNTRY
{
get { return _SHIPPERCOUNTRY; }
set { _SHIPPERCOUNTRY = value; }
}
public string SHIPPERTEL
{
get { return _SHIPPERTEL; }
set { _SHIPPERTEL = value; }
}
public string LEIXINGFA
{
get { return _LEIXINGFA; }
set { _LEIXINGFA = value; }
}
public string SHIPPERCODE
{
get { return _SHIPPERCODE; }
set { _SHIPPERCODE = value; }
}
public string CONSIGNEENAME
{
get { return _CONSIGNEENAME; }
set { _CONSIGNEENAME = value; }
}
public string CONSIGNEEADDR1
{
get { return _CONSIGNEEADDR1; }
set { _CONSIGNEEADDR1 = value; }
}
public string CONSIGNEECOUNTRY
{
get { return _CONSIGNEECOUNTRY; }
set { _CONSIGNEECOUNTRY = value; }
}
public string CONSIGNEETEL
{
get { return _CONSIGNEETEL; }
set { _CONSIGNEETEL = value; }
}
public string LEIXINGSHOU
{
get { return _LEIXINGSHOU; }
set { _LEIXINGSHOU = value; }
}
public string CONSIGNEECODE
{
get { return _CONSIGNEECODE; }
set { _CONSIGNEECODE = value; }
}
public string NOTIFYPARTYNAME
{
get { return _NOTIFYPARTYNAME; }
set { _NOTIFYPARTYNAME = value; }
}
public string NOTIFYPARTYADDR1
{
get { return _NOTIFYPARTYADDR1; }
set { _NOTIFYPARTYADDR1 = value; }
}
public string NOTIFYPARTYCOUNTRY
{
get { return _NOTIFYPARTYCOUNTRY; }
set { _NOTIFYPARTYCOUNTRY = value; }
}
public string NOTIFYPARTYTEL
{
get { return _NOTIFYPARTYTEL; }
set { _NOTIFYPARTYTEL = value; }
}
public string LEIXINGTONG
{
get { return _LEIXINGTONG; }
set { _LEIXINGTONG = value; }
}
public string NOTIFYPARTYCODE
{
get { return _NOTIFYPARTYCODE; }
set { _NOTIFYPARTYCODE = value; }
}
public string PORTLOAD
{
get { return _PORTLOAD; }
set { _PORTLOAD = value; }
}
public string PORTLOADID
{
get { return _PORTLOADID; }
set { _PORTLOADID = value; }
}
public string PORTDISCHARGE
{
get { return _PORTDISCHARGE; }
set { _PORTDISCHARGE = value; }
}
public string PORTDISCHARGEID
{
get { return _PORTDISCHARGEID; }
set { _PORTDISCHARGEID = value; }
}
public string MARKS
{
get { return _MARKS; }
set { _MARKS = value; }
}
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = value; }
}
public string CARGOID
{
get { return _CARGOID; }
set { _CARGOID = value; }
}
public string TEMPSET
{
get { return _TEMPSET; }
set { _TEMPSET = value; }
}
public string TEMPID
{
get { return _TEMPID; }
set { _TEMPID = value; }
}
public string REEFERF { get; set; }
public string DCLASS { get; set; }
public string DUNNO { get; set; }
public string DATTN { get; set; }
public string DTEL { get; set; }
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
public string PLACEDELIVERY
{
get { return _PLACEDELIVERY; }
set { _PLACEDELIVERY = value; }
}
public string PLACEDELIVERYID
{
get { return _PLACEDELIVERYID; }
set { _PLACEDELIVERYID = value; }
}
public string YARD { get; set; }
public string YARDID { get; set; }
#endregion
}
[JsonObject]
public class CTNDATA
{
#region private Fields
private string _SIZE = string.Empty;
private string _CTN = string.Empty;
private string _CTNALL = string.Empty;
private string _CNTRNO = string.Empty;
private string _SEALNO = string.Empty;
private string _PKGS = string.Empty;
private string _KINDPKGS = string.Empty;
private string _KGS = string.Empty;
private string _CBM = string.Empty;
#endregion
#region R&W
public string SIZE
{
get { return _SIZE; }
set { _SIZE = value; }
}
public string CTN
{
get { return _CTN; }
set { _CTN = value; }
}
public string CTNALL
{
get { return _CTNALL; }
set { _CTNALL = value; }
}
public string CNTRNO
{
get { return _CNTRNO; }
set { _CNTRNO = value; }
}
public string SEALNO
{
get { return _SEALNO; }
set { _SEALNO = value; }
}
public string PKGS
{
get { return _PKGS; }
set { _PKGS = value; }
}
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
public string KGS
{
get { return _KGS; }
set { _KGS = value; }
}
public string CBM
{
get { return _CBM; }
set { _CBM = value; }
}
#endregion
}
[JsonObject]
public class MsOpSeae_SI : MsOpSeae
{
public string SIREMARK { get; set; }
public void setValue(MsOpSeae opseae) {
PropertyInfo[] propertys = opseae.GetType().GetProperties();
foreach (PropertyInfo property in propertys)
{
if (property.Name == "ExtendDic") continue;
property.SetValue(this, opseae.GetPropertyValue(property.Name), null);
}
}
}
[JsonObject]
public class MsOpSeaeJosn : MsOpSeae
{
public List<MsOpSeaeDetail> CNTRLIST { get; set; }
public List<DSWeb.MvcShipping.Models.MsChFee.MsChFee> FEELIST { get; set; }
}
[JsonObject]
public class MsOpJkJosn
{
public string appcode { get; set; }
public string appkey { get; set; }
public string subcom { get; set; }
public string op { get; set; }
public string custservice { get; set; }
public List<MsOpSeaeJosn> data { get; set; }
}
[JsonObject]
public class MsOpJkUserJosn
{
public string appcode { get; set; }
public string appkey { get; set; }
public string subcom { get; set; }
}
//
}