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(); /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BSNO { get{ return _bsno; } set{ _bsno = value; } } private string _ordertype = "操作录入"; /// /// 委托方式 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string ORDERTYPE { get{ return _ordertype; } set{ _ordertype = value; } } private string _masterno = ""; /// /// 主编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string MASTERNO { get{ return _masterno; } set{ _masterno = value; } } private string _custno = ""; /// /// 委托编号 /// [ModelDB] public string CUSTNO { get{ return _custno; } set{ _custno = value; } } private string _mblno = ""; /// /// 主提单号 /// [ModelDB] public string MBLNO { get{ return _mblno; } set{ _mblno = value; } } private string _hblno = ""; /// /// 分提单号 /// [ModelDB] public string HBLNO { get{ return _hblno; } set{ _hblno = value; } } private string _applyno = ""; /// /// 放箱申请单号 /// [ModelDB] public string APPLYNO { get { return _applyno; } set { _applyno = value; } } private bool _bsstatus = false; /// /// 业务状态 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool BSSTATUS { get{ return _bsstatus; } set{ _bsstatus = value; } } private string _BSSTATUSREF="未锁定"; /// /// 业务锁定_中文 /// public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } } private string _OPSTATUS = "接受委托";//接单 /// /// 业务状态_中文 /// public string OPSTATUS { get { return _OPSTATUS; } set { _OPSTATUS = value; } } private string _MANIFESTSTATUS = "无状态"; /// /// 业务状态_中文 /// public string MANIFESTSTATUS { get { return _MANIFESTSTATUS; } set { _MANIFESTSTATUS = value; } } private bool _feestatus = false; /// /// 费用状态 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool FEESTATUS { get{ return _feestatus; } set{ _feestatus = value; } } private string _FEESTATUSREF = "未锁定"; /// /// 费用状态_中文 /// public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } private string _FENPIAO = "0"; /// /// 分票 /// public string FENPIAO { get { return _FENPIAO; } set { _FENPIAO = value; } } private string _AMEND = "0"; /// /// 是否有更改 /// public string AMEND { get { return _AMEND; } set { _AMEND = value; } } private string _ISAPPLY = "0"; /// /// 是否生成报关 /// public string ISAPPLY { get { return _ISAPPLY; } set { _ISAPPLY = value; } } private DateTime _bsdate = DateTime.Now; /// /// 接单日期 /// [ModelDB] public DateTime BSDATE { get{ return _bsdate; } set{ _bsdate = value; } } private string _accdate = DateTime.Now.ToString("yyyy-MM"); /// /// 会计期间 /// [ModelDB] public string ACCDATE { get{ return _accdate; } set{ _accdate = value; } } private string _customername = ""; /// /// 委托单位 /// [ModelDB] public string CUSTOMERNAME { get{ return _customername; } set{ _customername = value; } } private string _bssource = ""; /// /// 业务来源 /// [ModelDB] public string BSSOURCE { get{ return _bssource; } set{ _bssource = value; } } private string _bssourcedetail = ""; /// /// 来源明细 /// [ModelDB] public string BSSOURCEDETAIL { get{ return _bssourcedetail; } set{ _bssourcedetail = value; } } private string _inputby = ""; /// /// 录入人 /// [ModelDB] public string INPUTBY { get{ return _inputby; } set{ _inputby = value; } } private string _op = ""; /// /// 操作员 /// [ModelDB] public string OP { get{ return _op; } set{ _op = value; } } private string _custservice = ""; /// /// 客服员 /// [ModelDB] public string CUSTSERVICE { get{ return _custservice; } set{ _custservice = value; } } private string _frcustservice = ""; /// /// 海外客服员 /// [ModelDB] public string FRCUSTSERVICE { get { return _frcustservice; } set { _frcustservice = value; } } private string _sale = ""; /// /// 揽货人 /// [ModelDB] public string SALE { get{ return _sale; } set{ _sale = value; } } private string _corpid = ""; /// /// 分公司代码 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CORPID { get{ return _corpid; } set{ _corpid = value; } } private string _salecorpid = ""; /// /// 分公司代码 /// [ModelDB] public string SALECORPID { get { return _salecorpid; } set { _salecorpid = value; } } private string _salecorp = ""; /// /// 分公司代码 /// public string SALECORP { get { return _salecorp; } set { _salecorp = value; } } private string _saledept = ""; /// /// 所属部门 /// [ModelDB] public string SALEDEPT { get{ return _saledept; } set{ _saledept = value; } } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get{ return _createtime; } set{ _createtime = value; } } private string _transno = ""; /// /// 运单号 /// [ModelDB] public string TRANSNO { get { return _transno; } set { _transno = value; } } private string _vessel = ""; /// /// 船名 /// [ModelDB] public string VESSEL { get{ return _vessel; } set{ _vessel = value; } } private string _voyno = ""; /// /// 航次 /// [ModelDB] public string VOYNO { get{ return _voyno; } set{ _voyno = value; } } private string _etd; /// /// 开船日期 /// [ModelDB] public string ETD { get { return _etd; } set { _etd = value; } } private string _atd; /// /// 实际开船日期 /// [ModelDB] public string ATD { get { return _atd; } set { _atd = value; } } private string _deliverydate=null; /// /// 交货日期 /// [ModelDB] public string DELIVERYDATE { get { return _deliverydate; } set { _deliverydate = value; } } private string _closingdate; /// /// 截港日期 /// [ModelDB] public string CLOSINGDATE { get { return _closingdate; } set { _closingdate = value; } } private string _eta; /// /// 预抵日期 /// [ModelDB] public string ETA { get { return _eta; } set { _eta = value; } } private string _placereceipt = ""; /// /// 收货地 /// [ModelDB] public string PLACERECEIPT { get { return _placereceipt; } set { _placereceipt = value; } } private string _portloadid = ""; /// /// 装货港代码 /// [ModelDB] public string PORTLOADID { get{ return _portloadid; } set{ _portloadid = value; } } private string _portload = ""; /// /// 装货港 /// [ModelDB] public string PORTLOAD { get{ return _portload; } set{ _portload = value; } } private string _TRANSPORT = ""; /// /// 中转港 /// [ModelDB] public string TRANSPORT { get { return _TRANSPORT; } set { _TRANSPORT = value; } } private string _portdischargeid = ""; /// /// 卸货港代码 /// [ModelDB] public string PORTDISCHARGEID { get{ return _portdischargeid; } set{ _portdischargeid = value; } } private string _portdischarge = ""; /// /// 卸货港 /// [ModelDB] public string PORTDISCHARGE { get{ return _portdischarge; } set{ _portdischarge = value; } } private string _placedeliveryid = ""; /// /// 交货地代码 /// [ModelDB] public string PLACEDELIVERYID { get { return _placedeliveryid; } set { _placedeliveryid = value; } } private string _placedelivery = ""; /// /// 交货地 /// [ModelDB] public string PLACEDELIVERY { get { return _placedelivery; } set { _placedelivery = value; } } private string _destinationid = ""; /// /// 目的地代码 /// [ModelDB] public string DESTINATIONID { get { return _destinationid; } set { _destinationid = value; } } private string _destination = ""; /// /// 目的地 /// [ModelDB] public string DESTINATION { get { return _destination; } set { _destination = value; } } private string _nobill = ""; /// /// 提单份数 /// [ModelDB] public string NOBILL { get { return _nobill; } set { _nobill = value; } } private string _copynobill = ""; /// /// 提单份数 /// [ModelDB] public string COPYNOBILL { get { return _copynobill; } set { _copynobill = value; } } private string _issuetype = ""; /// /// 签单方式 /// [ModelDB] public string ISSUETYPE { get { return _issuetype; } set { _issuetype = value; } } private string _issuedate; /// /// 签单日期 /// [ModelDB] public string ISSUEDATE { get { return _issuedate; } set { _issuedate = value; } } private string _issueplace = ""; /// /// 签单地点 /// [ModelDB] public string ISSUEPLACE { get { return _issueplace; } set { _issueplace = value; } } private string _bltype = "整箱"; /// /// 装运方式 /// [ModelDB] public string BLTYPE { get { return _bltype; } set { _bltype = value; } } private string _shipperid = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERID { get{ return _shipperid; } set{ _shipperid = value; } } private string _consigneeid = ""; /// /// 收货人 /// [ModelDB] public string CONSIGNEEID { get{ return _consigneeid; } set{ _consigneeid = value; } } private string _notifypartyid = ""; /// /// 通知人 /// [ModelDB] public string NOTIFYPARTYID { get{ return _notifypartyid; } set{ _notifypartyid = value; } } private string _shipper = ""; /// /// 发货人内容 /// [ModelDB] public string SHIPPER { get{ return _shipper; } set{ _shipper = value; } } private string _consignee = ""; /// /// 收货人内容 /// [ModelDB] public string CONSIGNEE { get{ return _consignee; } set{ _consignee = value; } } private string _notifyparty = ""; /// /// 通知人内容 /// [ModelDB] public string NOTIFYPARTY { get{ return _notifyparty; } set{ _notifyparty = value; } } private string _mshipperid = ""; /// /// 发货人 /// [ModelDB] public string MSHIPPERID { get { return _mshipperid; } set { _mshipperid = value; } } private string _mconsigneeid = ""; /// /// 收货人 /// [ModelDB] public string MCONSIGNEEID { get { return _mconsigneeid; } set { _mconsigneeid = value; } } private string _mnotifypartyid = ""; /// /// 通知人 /// [ModelDB] public string MNOTIFYPARTYID { get { return _mnotifypartyid; } set { _mnotifypartyid = value; } } private string _mshipper = ""; /// /// 发货人内容 /// [ModelDB] public string MSHIPPER { get { return _mshipper; } set { _mshipper = value; } } private string _mconsignee = ""; /// /// 收货人内容 /// [ModelDB] public string MCONSIGNEE { get { return _mconsignee; } set { _mconsignee = value; } } private string _mnotifyparty = ""; /// /// 通知人内容 /// [ModelDB] public string MNOTIFYPARTY { get { return _mnotifyparty; } set { _mnotifyparty = value; } } private string _agentid = ""; /// /// 国外代理 /// [ModelDB] public string AGENTID { get{ return _agentid; } set{ _agentid = value; } } private string _agent = ""; /// /// 国外代理内容 /// [ModelDB] public string AGENT { get{ return _agent; } set{ _agent = value; } } private string _yard = ""; /// /// 场站/靠泊码头 /// [ModelDB] public string YARD { get{ return _yard; } set{ _yard = value; } } private string _yardattn = ""; /// /// 场站/靠泊码头 /// [ModelDB] public string YARDATTN { get { return _yardattn; } set { _yardattn = value; } } private string _yardtel = ""; /// /// 场站/靠泊码头 /// [ModelDB] public string YARDTEL { get { return _yardtel; } set { _yardtel = value; } } private string _blfrt = "FREIGHT PREPAID"; /// /// 付费方式 /// [ModelDB] public string BLFRT { get{ return _blfrt; } set{ _blfrt = value; } } private string _prepardat = ""; /// /// 预付地点 /// [ModelDB] public string PREPARDAT { get{ return _prepardat; } set{ _prepardat = value; } } private string _payableat = ""; /// /// 到付地点 /// [ModelDB] public string PAYABLEAT { get{ return _payableat; } set{ _payableat = value; } } private string _prepardatid = ""; /// /// 付款地代码 /// [ModelDB] public string PREPARDATID { get { return _prepardatid; } set { _prepardatid = value; } } private string _service = "CY-CY"; /// /// 运输条款 /// [ModelDB] public string SERVICE { get{ return _service; } set{ _service = value; } } private string _marks = ""; /// /// 唛头 /// [ModelDB] public string MARKS { get{ return _marks; } set{ _marks = value; } } private string _cntrsealno = ""; /// /// 箱号封号 /// [ModelDB] public string CNTRSEALNO { get{ return _cntrsealno; } set{ _cntrsealno = value; } } private string _nopkgs = ""; /// /// 件数包装 /// [ModelDB] public string NOPKGS { get{ return _nopkgs; } set{ _nopkgs = value; } } private string _description = ""; /// /// 货物描述 /// [ModelDB] public string DESCRIPTION { get{ return _description; } set{ _description = value; } } private string _grossweight = ""; /// /// 货物毛重 /// [ModelDB] public string GROSSWEIGHT { get{ return _grossweight; } set{ _grossweight = value; } } private string _measurement = ""; /// /// 货物尺码 /// [ModelDB] public string MEASUREMENT { get{ return _measurement; } set{ _measurement = value; } } private string _pkgs = "0"; /// /// 件数 /// [ModelDB] public string PKGS { get{ return _pkgs; } set{ _pkgs = value; } } private string _kindpkgs = ""; /// /// 件数包装 /// [ModelDB] public string KINDPKGS { get{ return _kindpkgs; } set{ _kindpkgs = value; } } private string _cbm ="0"; /// /// 立方数/尺码 /// [ModelDB] public string CBM { get{ return _cbm; } set{ _cbm = value; } } private string _totalno = ""; /// /// 件数大写 /// [ModelDB] public string TOTALNO { get{ return _totalno; } set{ _totalno = value; } } private string _cntrno = ""; /// /// 集装箱大写 /// [ModelDB] public string CNTRNO { get { return _cntrno; } set { _cntrno = value; } } private int _cntr1 = 0; /// /// 箱型1 /// [ModelDB] public int CNTR1 { get { return _cntr1; } set { _cntr1 = value; } } private int _cntr2 = 0; /// /// 箱型2 /// [ModelDB] public int CNTR2 { get { return _cntr2; } set { _cntr2 = value; } } private int _cntr3 = 0; /// /// 箱型3 /// [ModelDB] public int CNTR3 { get { return _cntr3; } set { _cntr3 = value; } } private int _cntr4 = 0; /// /// 箱型4 /// [ModelDB] public int CNTR4 { get { return _cntr4; } set { _cntr4 = value; } } private int _cntr5 = 0; /// /// 箱型5 /// [ModelDB] public int CNTR5 { get { return _cntr5; } set { _cntr5 = value; } } private int _cntr6 = 0; /// /// 箱型6 /// [ModelDB] public int CNTR6 { get { return _cntr6; } set { _cntr6 = value; } } private int _cntr7 = 0; /// /// 箱型7 /// [ModelDB] public int CNTR7 { get { return _cntr7; } set { _cntr7 = value; } } private int _cntr8 = 0; /// /// 箱型8 /// [ModelDB] public int CNTR8 { get { return _cntr8; } set { _cntr8 = value; } } private int _cntr9 = 0; /// /// 箱型9 /// [ModelDB] public int CNTR9 { get { return _cntr9; } set { _cntr9 = value; } } private int _cntr10 = 0; /// /// 箱型10 /// [ModelDB] public int CNTR10 { get { return _cntr10; } set { _cntr10 = value; } } private int _otcntr = 0; /// /// 其他箱型 /// [ModelDB] public int OTCNTR { get { return _otcntr; } set { _otcntr = value; } } private int _teu = 0; /// /// 箱TEU /// [ModelDB] public int TEU { get { return _teu; } set { _teu = value; } } private string _cntrtotal = ""; /// /// 集装箱全部内容 /// [ModelDB] public string CNTRTOTAL { get { return _cntrtotal; } set { _cntrtotal = value; } } private string _goodsname = ""; /// /// 品名 /// [ModelDB] public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } private string _contractno = ""; /// /// 合同号/运费协议号 /// [ModelDB] public string CONTRACTNO { get { return _contractno; } set { _contractno = value; } } private string _kgs ="0"; /// /// 毛重 /// [ModelDB] public string KGS { get { return _kgs; } set { _kgs = value; } } private string _customser = ""; /// /// 报关行 /// [ModelDB] public string CUSTOMSER { get { return _customser; } set { _customser = value; } } private string _lane = ""; /// /// 航线 /// [ModelDB] public string LANE { get{ return _lane; } set{ _lane = value; } } private string _carrier = ""; /// /// 船公司 /// [ModelDB] public string CARRIER { get{ return _carrier; } set{ _carrier = value; } } private string _forwarder = ""; /// /// 订舱公司 /// [ModelDB] public string FORWARDER { get{ return _forwarder; } set{ _forwarder = value; } } private string _trucker = ""; /// /// 承运车队 /// [ModelDB] public string TRUCKER { get{ return _trucker; } set{ _trucker = value; } } private string _invno = ""; /// /// 发票号 /// [ModelDB] public string INVNO { get{ return _invno; } set{ _invno = value; } } private string _cargoid = ""; /// /// 货物标识 /// [ModelDB] public string CARGOID { get{ return _cargoid; } set{ _cargoid = value; } } private string _dclass = ""; /// /// 危险品分类/等级 /// [ModelDB] public string DCLASS { get{ return _dclass; } set{ _dclass = value; } } private string _dunno = ""; /// /// 危险品编号 /// [ModelDB] public string DUNNO { get{ return _dunno; } set{ _dunno = value; } } private string _dpage = ""; /// /// 危险品页号 /// [ModelDB] public string DPAGE { get { return _dpage; } set { _dpage = value; } } private string _dlabel = ""; /// /// 危险品标签 /// [ModelDB] public string DLABEL { get { return _dlabel; } set { _dlabel = value; } } private string _linkman = ""; /// /// 危险品联系人 /// [ModelDB] public string LINKMAN { get { return _linkman; } set { _linkman = value; } } private string _reeferf = ""; /// /// 冷藏通风量 /// [ModelDB] public string REEFERF { get{ return _reeferf; } set{ _reeferf = value; } } private string _tempid = ""; /// /// 温度单位 /// [ModelDB] public string TEMPID { get{ return _tempid; } set{ _tempid = value; } } private string _tempset = ""; /// /// 设置温度 /// [ModelDB] public string TEMPSET { get{ return _tempset; } set{ _tempset = value; } } private string _tempmax = ""; /// /// 最高温度 /// [ModelDB] public string TEMPMAX { get{ return _tempmax; } set{ _tempmax = value; } } private string _tempmin = ""; /// /// 最低温度 /// [ModelDB] public string TEMPMIN { get{ return _tempmin; } set{ _tempmin = value; } } private string _HUMIDITY = ""; /// /// 湿度 /// [ModelDB] public string HUMIDITY { get { return _HUMIDITY; } set { _HUMIDITY = value; } } private int _customsnum = 0; /// /// 报关票数 /// [ModelDB] public int CUSTOMSNUM { get{ return _customsnum; } set{ _customsnum = value; } } private int _PRERECORD = 0; /// /// 预录票数 /// [ModelDB] public int PRERECORD { get { return _PRERECORD; } set { _PRERECORD = value; } } private string _ordtype = ""; /// /// 订舱类型 /// [ModelDB] public string ORDTYPE { get{ return _ordtype; } set{ _ordtype = value; } } private string _orderno = ""; /// /// 订舱编号 /// [ModelDB] public string ORDERNO { get{ return _orderno; } set{ _orderno = value; } } private string _insuranceer = ""; /// /// 保险人 /// [ModelDB] public string INSURANCEER { get{ return _insuranceer; } set{ _insuranceer = value; } } private string _insuranceno = ""; /// /// 保险单号 /// [ModelDB] public string INSURANCENO { get{ return _insuranceno; } set{ _insuranceno = value; } } private decimal _inamout = 0; /// /// 保险金额 /// [ModelDB] public decimal INAMOUT { get{ return _inamout; } set{ _inamout = value; } } private bool _isvou = false; /// /// 是否生成凭证 /// public bool ISVOU { get{ return _isvou; } set{ _isvou = value; } } private string _vouno = ""; /// /// 凭证号 /// public string VOUNO { get{ return _vouno; } set{ _vouno = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get{ return _remark; } set{ _remark = value; } } private bool _status1 = false; /// /// 状态1 /// [ModelDB] public bool STATUS1 { get{ return _status1; } set{ _status1 = value; } } private bool _status2 = false; /// /// 状态2 /// [ModelDB] public bool STATUS2 { get{ return _status2; } set{ _status2 = value; } } private bool _status3 = false; /// /// 状态3 /// [ModelDB] public bool STATUS3 { get{ return _status3; } set{ _status3 = value; } } private bool _status4 = false; /// /// 状态4 /// [ModelDB] public bool STATUS4 { get{ return _status4; } set{ _status4 = value; } } private bool _status5 = false; /// /// 状态5 /// [ModelDB] public bool STATUS5 { get{ return _status5; } set{ _status5 = value; } } private bool _isfumigation = false; /// /// 熏蒸 /// [ModelDB] public bool ISFUMIGATION { get{ return _isfumigation; } set{ _isfumigation = value; } } private bool _isstorage = false; /// /// 仓储 /// [ModelDB] public bool ISSTORAGE { get{ return _isstorage; } set{ _isstorage = value; } } private bool _island = false; /// /// 陆运 /// [ModelDB] public bool ISLAND { get{ return _island; } set{ _island = value; } } private bool _iscustoms = false; /// /// 报关 /// [ModelDB] public bool ISCUSTOMS { get{ return _iscustoms; } set{ _iscustoms = value; } } private bool _isinspection = false; /// /// 报检 /// [ModelDB] public bool ISINSPECTION { get{ return _isinspection; } set{ _isinspection = value; } } private bool _isbooking = false; /// /// 订舱 /// [ModelDB] public bool ISBOOKING { get{ return _isbooking; } set{ _isbooking = value; } } private bool _isagent = false; /// /// 使用代理 /// [ModelDB] public bool ISAGENT { get{ return _isagent; } set{ _isagent = value; } } private bool _ishblno = false; /// /// 分单签单 /// [ModelDB] public bool ISHBLNO { get{ return _ishblno; } set{ _ishblno = value; } } private bool _service9 = false; /// /// 服务项目9 /// [ModelDB] public bool SERVICE9 { get{ return _service9; } set{ _service9 = value; } } private bool _service10 = false; /// /// 服务项目10 /// [ModelDB] public bool SERVICE10 { get{ return _service10; } set{ _service10 = value; } } private string _doc = ""; /// /// 单证 /// [ModelDB] public string DOC { get{ return _doc; } set{ _doc = value; } } private string _packingtype = ""; /// /// 装箱类型 /// [ModelDB] public string PACKINGTYPE { get{ return _packingtype; } set{ _packingtype = value; } } private string _warehouse = ""; /// /// 仓库 /// [ModelDB] public string WAREHOUSE { get { return _warehouse; } set { _warehouse = value; } } private string _closedocdate; /// /// 截单日期 /// [ModelDB] public string CLOSEDOCDATE { get{ return _closedocdate; } set{ _closedocdate = value; } } private string _intoportdate; /// /// 集港日期 /// [ModelDB] public string INTOPORTDATE { get{ return _intoportdate; } set{ _intoportdate = value; } } private string _mblfrt = ""; /// /// MBL付费方式 /// [ModelDB] public string MBLFRT { get{ return _mblfrt; } set{ _mblfrt = value; } } private string _stlname = ""; /// /// 结算方式 /// [ModelDB] public string STLNAME { get{ return _stlname; } set{ _stlname = value; } } private string _stldate; /// /// 结算时间 /// [ModelDB] public string STLDATE { get{ return _stldate; } set{ _stldate = value; } } private string _operatorcode = ""; /// /// 客户操作代码 /// [ModelDB] public string OPERATORCODE { get{ return _operatorcode; } set{ _operatorcode = value; } } private string _operator = ""; /// /// 客户操作名称 /// [ModelDB] public string OPERATOR { get{ return _operator; } set{ _operator = value; } } private string _operatoremail = ""; /// /// 操作电子邮箱 /// [ModelDB] public string OPERATOREMAIL { get{ return _operatoremail; } set{ _operatoremail = value; } } private string _operatortel = ""; /// /// 操作电话 /// [ModelDB] public string OPERATORTEL { get{ return _operatortel; } set{ _operatortel = value; } } private string _operatorfax = ""; /// /// 操作传真 /// [ModelDB] public string OPERATORFAX { get{ return _operatorfax; } set{ _operatorfax = value; } } private string _financialstaffcode = ""; /// /// 客户财务代码 /// [ModelDB] public string FINANCIALSTAFFCODE { get{ return _financialstaffcode; } set{ _financialstaffcode = value; } } private string _financialstaff = ""; /// /// 客户财务名称 /// [ModelDB] public string FINANCIALSTAFF { get{ return _financialstaff; } set{ _financialstaff = value; } } private string _financialstaffemail = ""; /// /// 财务电子邮箱 /// [ModelDB] public string FINANCIALSTAFFEMAIL { get{ return _financialstaffemail; } set{ _financialstaffemail = value; } } private string _financialstafftel = ""; /// /// 财务电话 /// [ModelDB] public string FINANCIALSTAFFTEL { get{ return _financialstafftel; } set{ _financialstafftel = value; } } private string _financialstafffax = ""; /// /// 财务传真 /// [ModelDB] public string FINANCIALSTAFFFAX { get{ return _financialstafffax; } set{ _financialstafffax = value; } } private string _placereceiptid = ""; /// /// 收货地代码 /// [ModelDB] public string PLACERECEIPTID { get{ return _placereceiptid; } set{ _placereceiptid = value; } } private string _sourcecode = ""; /// /// 集装箱(器)来源代码 /// [ModelDB] public string SOURCECODE { get{ return _sourcecode; } set{ _sourcecode = value; } } private bool _iscontainersoc = false; /// /// 货主箱标志,是否自有箱 /// [ModelDB] public bool ISCONTAINERSOC { get{ return _iscontainersoc; } set{ _iscontainersoc = value; } } private string _vesselid = ""; /// /// 船舶呼号 /// [ModelDB] public string VESSELID { get{ return _vesselid; } set{ _vesselid = value; } } private string _issueplaceid = ""; /// /// 提单签发地代码 /// [ModelDB] public string ISSUEPLACEID { get{ return _issueplaceid; } set{ _issueplaceid = value; } } private string _hscode = ""; /// /// HS编码 /// [ModelDB] public string HSCODE { get { return _hscode; } set { _hscode = value; } } private string _transtatus = ""; /// /// 出运状态 /// [ModelDB] public string TRANSTATUS { get { return _transtatus; } set { _transtatus = value; } } private string _ediremark = ""; /// /// EDI备注 /// [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; } } /// /// 多品名 /// [ModelDB] public bool ISMOREGOOD { get { return _ISMOREGOOD; } set { _ISMOREGOOD = value; } } private string _tradeterm = ""; /// /// 贸易条款 /// [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 = ""; /// /// 船代 /// [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 =""; /// /// 是否退舱 /// public string ISCANCEL { get { return _iscancel; } set { _iscancel = value; } } private string _istui = ""; /// /// 是否推航次 /// public string ISTUI { get { return _istui; } set { _istui = value; } } private string _vessel2n = ""; /// /// 二程船名 /// [ModelDB] public string VESSEL2N { get { return _vessel2n; } set { _vessel2n = value; } } private string _voyno2n = ""; /// /// 二程航次 /// [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 = ""; /// /// 二程船舶呼号 /// [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; /// /// 是否改签 /// [ModelDB] public bool ISGAIQIAN { get { return _ISGAIQIAN; } set { _ISGAIQIAN = value; } } private int _WARNCOUNT = 0; /// /// 提醒数量 /// [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; } public string TTLPROFIT { get; set; } public string PROFITRATE { get; set; } public string GROUPBS { get; set; } [ModelDB] public string IRCODE { get; set; } private string _mdescription = ""; /// /// 主单货物描述 /// [ModelDB] public string MDESCRIPTION { get { return _mdescription; } set { _mdescription = value; } } public string COUNTRY { get; set; } public string USERID { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public long? DJYID { 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; /// /// 提单份数 /// public int NOBILL { get { return _nobill; } set { _nobill = value; } } private int _pkgs = 0; /// /// 件数 /// public int PKGS { get { return _pkgs; } set { _pkgs = value; } } private decimal _kgs = 0; /// /// 毛重 /// public decimal KGS { get { return _kgs; } set { _kgs = value; } } private decimal _cbm = 0; /// /// 立方数/尺码 /// public decimal CBM { get { return _cbm; } set { _cbm = value; } } private int _cntr1 = 0; /// /// 箱型1 /// public int CNTR1 { get { return _cntr1; } set { _cntr1 = value; } } private int _cntr2 = 0; /// /// 箱型2 /// public int CNTR2 { get { return _cntr2; } set { _cntr2 = value; } } private int _cntr3 = 0; /// /// 箱型3 /// public int CNTR3 { get { return _cntr3; } set { _cntr3 = value; } } private int _cntr4 = 0; /// /// 箱型4 /// public int CNTR4 { get { return _cntr4; } set { _cntr4 = value; } } private int _cntr5 = 0; /// /// 箱型5 /// public int CNTR5 { get { return _cntr5; } set { _cntr5 = value; } } private int _cntr6 = 0; /// /// 箱型6 /// public int CNTR6 { get { return _cntr6; } set { _cntr6 = value; } } private int _cntr7 = 0; /// /// 箱型7 /// public int CNTR7 { get { return _cntr7; } set { _cntr7 = value; } } private int _cntr8 = 0; /// /// 箱型8 /// public int CNTR8 { get { return _cntr8; } set { _cntr8 = value; } } private int _cntr9 = 0; /// /// 箱型9 /// public int CNTR9 { get { return _cntr9; } set { _cntr9 = value; } } private int _cntr10 = 0; /// /// 箱型10 /// public int CNTR10 { get { return _cntr10; } set { _cntr10 = value; } } private int _otcntr = 0; /// /// 其他箱型 /// public int OTCNTR { get { return _otcntr; } set { _otcntr = value; } } private int _teu = 0; /// /// 箱TEU /// public int TEU { get { return _teu; } set { _teu = value; } } #endregion } [JsonObject] public class MsOpSeaeAms : ModelObjectBillHead { #region 读写属性 private string _AMSNO = "*"; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string AMSNO { get { return _AMSNO; } set { _AMSNO = value; } } private string _bsno = ""; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get { return _bsno; } set { _bsno = value; } } private string _amsshipper = ""; /// /// 发货人内容 /// [ModelDB] public string AMSSHIPPER { get { return _amsshipper; } set { _amsshipper = value; } } private string _amsconsignee = ""; /// /// 收货人内容 /// [ModelDB] public string AMSCONSIGNEE { get { return _amsconsignee; } set { _amsconsignee = value; } } /// /// 企业代码类型 /// [ModelDB] public string ENTERPRISECODETYPE { get; set; } [ModelDB] public string ENTERPRISECODETYPE1 { get; set; } [ModelDB] public string ENTERPRISECODETYPE2 { get; set; } [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; } /// /// 通知人内容 /// [ModelDB] public string AMSNOTIFYPARTY { get; set; } private string _dooraddr = ""; /// /// [ModelDB] public string DOORADDR { get { return _dooraddr; } set { _dooraddr = value; } } private string _BSNOLIST = ""; /// /// [ModelDB] public string BSNOLIST { get { return _BSNOLIST; } set { _BSNOLIST = value; } } private string _nvono = ""; /// /// [ModelDB] public string NVONO { get { return _nvono; } set { _nvono = value; } } private string _amscode = ""; /// /// [ModelDB] public string AMSCODE { get { return _amscode; } set { _amscode = value; } } private string _ORDERREMARK = ""; /// /// [ModelDB] public string ORDERREMARK { get { return _ORDERREMARK; } set { _ORDERREMARK = value; } } private string _SIREMARK = ""; /// /// [ModelDB] public string SIREMARK { get { return _SIREMARK; } set { _SIREMARK = value; } } private string _FORWARD = ""; /// /// [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 = ""; /// /// [ModelDB] public string USAAMS { get { return _USAAMS; } set { _USAAMS = value; } } private string _CANADAAMS = ""; /// /// [ModelDB] public string CANADAAMS { get { return _CANADAAMS; } set { _CANADAAMS = value; } } private string _CONTRACTORCODE = ""; /// /// [ModelDB] public string CONTRACTORCODE { get { return _CONTRACTORCODE; } set { _CONTRACTORCODE = value; } } private string _ORDERNO= ""; /// /// [ModelDB] public string ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } } private string _BYCOUNTRY = ""; /// /// 所在国家 /// [ModelDB] public string BYCOUNTRY { get { return _BYCOUNTRY; } set { _BYCOUNTRY = value; } } private string _DECLARER = ""; /// /// [ModelDB] public string DECLARER { get { return _DECLARER; } set { _DECLARER = value; } } private string _SCACCODE = ""; /// /// [ModelDB] public string SCACCODE { get { return _SCACCODE; } set { _SCACCODE = value; } } private string _GOODSNCM = ""; /// /// [ModelDB] public string GOODSNCM { get { return _GOODSNCM; } set { _GOODSNCM = value; } } private string _ITNCODE = ""; /// /// [ModelDB] public string ITNCODE { get { return _ITNCODE; } set { _ITNCODE = value; } } private string _CONSIGNEEPOSTCODE = ""; /// /// [ModelDB] public string CONSIGNEEPOSTCODE { get { return _CONSIGNEEPOSTCODE; } set { _CONSIGNEEPOSTCODE = value; } } private string _NOTIFYPARTYPOSTCODE = ""; /// /// [ModelDB] public string NOTIFYPARTYPOSTCODE { get { return _NOTIFYPARTYPOSTCODE; } set { _NOTIFYPARTYPOSTCODE = value; } } private string _CONSIGNEETAXNO = ""; /// /// [ModelDB] public string CONSIGNEETAXNO { get { return _CONSIGNEETAXNO; } set { _CONSIGNEETAXNO = value; } } private string _NOTIFYPARTYTAXNO = ""; /// /// [ModelDB] public string NOTIFYPARTYTAXNO { get { return _NOTIFYPARTYTAXNO; } set { _NOTIFYPARTYTAXNO = value; } } private string _CONSIGNEECOUNTRY = ""; /// /// [ModelDB] public string CONSIGNEECOUNTRY { get { return _CONSIGNEECOUNTRY; } set { _CONSIGNEECOUNTRY = value; } } private string _NOTIFYPARTYCOUNTRY = ""; /// /// [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; /// /// 立方数/尺码 /// [ModelDB] public decimal KINGTAREWEIGHT { get { return _KINGTAREWEIGHT; } set { _KINGTAREWEIGHT = value; } } private string _ShipperEdiCode = ""; /// /// 发货人Edi代码 /// [ModelDB] public string ShipperEdiCode { get { return _ShipperEdiCode; } set { _ShipperEdiCode = value; } } private string _ConsigneeEdiCode = ""; /// /// 收货人Edi代码 /// [ModelDB] public string ConsigneeEdiCode { get { return _ConsigneeEdiCode; } set { _ConsigneeEdiCode = value; } } private string _NotifypartyEdiCode = ""; /// /// 通知人Edi代码 /// [ModelDB] public string NotifypartyEdiCode { get { return _NotifypartyEdiCode; } set { _NotifypartyEdiCode = value; } } private string _SalesRepCode = ""; /// /// 太平销售Edi代码 /// [ModelDB] public string SalesRepCode { get { return _SalesRepCode; } set { _SalesRepCode = value; } } private string _MasterBOLIndicator = ""; /// /// 分单发送人太平代码MasterBOLIndicator /// [ModelDB] public string MasterBOLIndicator { get { return _MasterBOLIndicator; } set { _MasterBOLIndicator = value; } } private string _ACIHBL = ""; /// /// 加拿大分单号 /// [ModelDB] public string ACIHBL { get { return _ACIHBL; } set { _ACIHBL = value; } } private string _S0CC0C = ""; /// /// 加拿大货物混装描述 /// [ModelDB] public string S0CC0C { get { return _S0CC0C; } set { _S0CC0C = value; } } private string _cKHI = ""; /// /// 欧盟港口、伊朗港口、KHI /// [ModelDB] public string cKHI { get { return _cKHI; } set { _cKHI = value; } } private string _cNCM = ""; /// /// 南美东 /// [ModelDB] public string cNCM { get { return _cNCM; } set { _cNCM = value; } } private string _wNCM = ""; /// /// 巴西线的木质包装情况 /// [ModelDB] public string wNCM { get { return _wNCM; } set { _wNCM = value; } } private string _ACICODE = ""; /// /// /// [ModelDB] public string ACICODE { get { return _ACICODE; } set { _ACICODE = value; } } private string _TACCODE = ""; /// /// /// [ModelDB] public string TACCODE { get { return _TACCODE; } set { _TACCODE = value; } } private string _ERNCODE = ""; /// /// /// [ModelDB] public string ERNCODE { get { return _ERNCODE; } set { _ERNCODE = value; } } private string _VAECODE = ""; /// /// /// [ModelDB] public string VAECODE { get { return _VAECODE; } set { _VAECODE = value; } } private string _FECCODE = ""; /// /// /// [ModelDB] public string FECCODE { get { return _FECCODE; } set { _FECCODE = value; } } private string _ESLLINECODE = ""; /// /// /// [ModelDB] public string ESLLINECODE { get { return _ESLLINECODE; } set { _ESLLINECODE = value; } } private string _NOTIFYPARTYID2 = ""; /// /// Also Notify Party(第二通知人) /// [ModelDB] public string NOTIFYPARTYID2 { get { return _NOTIFYPARTYID2; } set { _NOTIFYPARTYID2 = value; } } private string _shippername = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERNAME { get { return _shippername; } set { _shippername = value; } } private string _shippercode = ""; /// /// 发货人CODE /// [ModelDB] public string SHIPPERCODE { get { return _shippercode; } set { _shippercode = value; } } private string _shipperaddr1 = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERADDR1 { get { return _shipperaddr1; } set { _shipperaddr1 = value; } } private string _shipperaddr2 = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERADDR2 { get { return _shipperaddr2; } set { _shipperaddr2 = value; } } private string _shipperaddr3 = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERADDR3 { get { return _shipperaddr3; } set { _shipperaddr3 = value; } } private string _shippercity = ""; /// /// 发货人 /// [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 = ""; /// /// 收货人CODE /// [ModelDB] public string CONSIGNEECODE { get { return _consigneecode; } set { _consigneecode = value; } } private string _consigneename = ""; /// /// 收货人 /// [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 = ""; /// /// 通知人CODE /// [ModelDB] public string NOTIFYPARTYCODE { get { return _notifypartycode; } set { _notifypartycode = value; } } private string _notifypartyname = ""; /// /// 通知人 /// [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 = ""; /// /// 第一个停靠港代码 /// [ModelDB] public string FIRSTPORTOFCALLID { get { return _FirstPortOfCallid; } set { _FirstPortOfCallid = value; } } private string _FIRSTPORTOFCALLDATE = ""; /// /// 第一个停靠港日期 /// [ModelDB] public string FIRSTPORTOFCALLDATE { get { return _FIRSTPORTOFCALLDATE; } set { _FIRSTPORTOFCALLDATE = value; } } private string _LastPortOfCalid = ""; /// /// 境外最后驶离港口代码 /// [ModelDB] public string LASTPORTOFCALLID { get { return _LastPortOfCalid; } set { _LastPortOfCalid = value; } } private string _LASTPORTOFCALLDATE = ""; /// /// 境外最后驶离港口日期 /// [ModelDB] public string LASTPORTOFCALLDATE { get { return _LASTPORTOFCALLDATE; } set { _LASTPORTOFCALLDATE = value; } } private string _INLANE = ""; /// /// 内贸线路 /// [ModelDB] public string INLANE { get { return _INLANE; } set { _INLANE = value; } } private bool _USERAILWAY = false; /// /// 铁路 /// [ModelDB] public bool USERAILWAY { get { return _USERAILWAY; } set { _USERAILWAY = value; } } private bool _USERIVER = false; /// /// 江河运输 /// [ModelDB] public bool USERIVER { get { return _USERIVER; } set { _USERIVER = value; } } private bool _USETRUCK = false; /// /// 陆运运输 /// [ModelDB] public bool USETRUCK { get { return _USETRUCK; } set { _USETRUCK = value; } } private string _RAILWAY_ETD; /// /// 铁路起运日期 /// [ModelDB] public string RAILWAY_ETD { get { return _RAILWAY_ETD; } set { _RAILWAY_ETD = value; } } private string _RAILWAY_PORTLOAD; /// /// 铁路起运港 /// [ModelDB] public string RAILWAY_PORTLOAD { get { return _RAILWAY_PORTLOAD; } set { _RAILWAY_PORTLOAD = value; } } private string _RAILWAY_TRANSPORT; /// /// 铁路中转港 /// [ModelDB] public string RAILWAY_TRANSPORT { get { return _RAILWAY_TRANSPORT; } set { _RAILWAY_TRANSPORT = value; } } private string _RAILWAY_PORTDISCHARG; /// /// 铁路卸货港 /// [ModelDB] public string RAILWAY_PORTDISCHARG { get { return _RAILWAY_PORTDISCHARG; } set { _RAILWAY_PORTDISCHARG = value; } } private string _RAILWAY_REMARK; /// /// 铁路备注 /// [ModelDB] public string RAILWAY_REMARK { get { return _RAILWAY_REMARK; } set { _RAILWAY_REMARK = value; } } private string _RIVER_ETD; /// /// 江河起运日期 /// [ModelDB] public string RIVER_ETD { get { return _RIVER_ETD; } set { _RIVER_ETD = value; } } private string _RIVER_PORTLOAD; /// /// 江河起运港 /// [ModelDB] public string RIVER_PORTLOAD { get { return _RIVER_PORTLOAD; } set { _RIVER_PORTLOAD = value; } } private string _RIVER_TRANSPORT; /// /// 江河中转港 /// [ModelDB] public string RIVER_TRANSPORT { get { return _RIVER_TRANSPORT; } set { _RIVER_TRANSPORT = value; } } private string _RIVER_PORTDISCHARG; /// /// 江河卸货港 /// [ModelDB] public string RIVER_PORTDISCHARG { get { return _RIVER_PORTDISCHARG; } set { _RIVER_PORTDISCHARG = value; } } private string _RIVER_REMARK; /// /// 江河备注 /// [ModelDB] public string RIVER_REMARK { get { return _RIVER_REMARK; } set { _RIVER_REMARK = value; } } private string _TRUCK_ETD; /// /// 陆运起运日期 /// [ModelDB] public string TRUCK_ETD { get { return _TRUCK_ETD; } set { _TRUCK_ETD = value; } } private string _TRUCK_PORTLOAD; /// /// 陆运起运港 /// [ModelDB] public string TRUCK_PORTLOAD { get { return _TRUCK_PORTLOAD; } set { _TRUCK_PORTLOAD = value; } } private string _TRUCK_TRANSPORT; /// /// 陆运中转港 /// [ModelDB] public string TRUCK_TRANSPORT { get { return _TRUCK_TRANSPORT; } set { _TRUCK_TRANSPORT = value; } } private string _TRUCK_PORTDISCHARG; /// /// 陆运卸货港 /// [ModelDB] public string TRUCK_PORTDISCHARG { get { return _TRUCK_PORTDISCHARG; } set { _TRUCK_PORTDISCHARG = value; } } private string _TRUCK_REMARK; /// /// 陆运备注 /// [ModelDB] public string TRUCK_REMARK { get { return _TRUCK_REMARK; } set { _TRUCK_REMARK = value; } } private string _CDESCRIPTION; /// ///舱单货描 /// [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 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; } public string ORDERNO { get; set; } public string VGMCLOSETIME { get; set; } } [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 { get; set; } public MsDsEDI() { } public MsDsEDI(MsOpSeaeEdi.MsOpSeaeEdi bill) { addMDATA(bill); } public static string getMFNOList(List List) { var _s = ""; if(List.Count>0) foreach (var mdata in List) { if (_s != "") _s += ","; _s += mdata.MDATA.MFNO; } return _s; } //public MsDsEDI(List 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(); } //插入箱信息 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 CNTRLIST { get; set; } public List 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 data { get; set; } } [JsonObject] public class MsOpJkUserJosn { public string appcode { get; set; } public string appkey { get; set; } public string subcom { get; set; } } // }