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.

2377 lines
57 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeaeEdi
{
[JsonObject]
public class Data
{
/// <summary>
///
/// </summary>
public string appKey { get; set; }
/// <summary>
///
/// </summary>
public string accessToken { get; set; }
/// <summary>
///
/// </summary>
public DateTime authTime { get; set; }
}
[JsonObject]
public class Root
{
/// <summary>
///
/// </summary>
public string requestId { get; set; }
/// <summary>
///
/// </summary>
public string code { get; set; }
/// <summary>
/// 操作成功!
/// </summary>
public string msg { get; set; }
/// <summary>
///
/// </summary>
public bool success { get; set; }
/// <summary>
///
/// </summary>
public Data data { get; set; }
/// <summary>
///
/// </summary>
public DateTime timestamp { get; set; }
/// <summary>
///
/// </summary>
public string version { get; set; }
}
[JsonObject]
public class MsOpSeaeYardGet : ModelObjectBillBody
{
public string BSNO { get; set; }
public string MBLNO { get; set; }
}
[JsonObject]
public class JFVouData : ModelObjectBillBody
{
public string USERCODE { get; set; }
public string USERPSW { get; set; }
public List<JFVou> DATA { get; set; }
}
[JsonObject]
public class JFVou : ModelObjectBillBody
{
public string ORDNO { get; set; }
}
[JsonObject]
public class U8Result
{
/// <summary>
///
/// </summary>
public string status { get; set; }
/// <summary>
///
/// </summary>
public string errorcode { get; set; }
/// <summary>
/// 下面的档案无法翻译:档案类型:凭证类别,档案编码记账1,可能的原因是当前单据使用的公司没有启用单据所在的模块或者档案没有分配到当前使用的公司!
/// </summary>
public string errormsg { get; set; }
}
[JsonObject]
public class U8Ass
{
/// <summary>
///
/// </summary>
public string checktypecode { get; set; }
/// <summary>
///
/// </summary>
public string checkvaluecode { get; set; }
}
[JsonObject]
public class U8Cashflow
{
/// <summary>
///
/// </summary>
public string pk_cashflow { get; set; }
/// <summary>
///
/// </summary>
public string pk_currtype { get; set; }
/// <summary>
///
/// </summary>
public string money { get; set; }
}
[JsonObject]
public class U8VouDetails
{
/// <summary>
///
/// </summary>
public string creditamount { get; set; }
/// <summary>
///
private string _creditquantity = ""; /// /// </summary>
public string creditquantity
{
get { return _creditquantity; }
set { _creditquantity = value; }
}
/// <summary>
///
/// </summary>
public string debitamount { get; set; }
/// <summary>
///
/// </summary>
private string _debitquantity = ""; /// /// </summary>
public string debitquantity
{
get { return _debitquantity; }
set { _debitquantity = value; }
}
/// <summary>
///
/// </summary>
public int detailindex { get; set; }
/// <summary>
///
/// </summary>
public decimal excrate1 { get; set; }
/// <summary>
///
/// </summary>
public string explanation { get; set; }
/// <summary>
///
/// </summary>
public string localcreditamount { get; set; }
/// <summary>
///
/// </summary>
public string localdebitamount { get; set; }
/// <summary>
///
/// </summary>
public string pk_accsubj { get; set; }
/// <summary>
///
/// </summary>
public string pk_currtype { get; set; }
/// <summary>
private string _price = ""; ///
/// </summary>
public string price
{
get { return _price; }
set { _price = value; }
}
/// <summary>
///
/// </summary>
public List<U8Ass> ass { get; set; }
/// <summary>
///
/// </summary>
public List<U8Cashflow> cashflow { get; set; }
private string _freevalue1 = ""; ///
public string freevalue1
{
get { return _freevalue1; }
set { _freevalue1 = value; }
}
public string modifyflag { get; set; }
}
[JsonObject]
public class U8Vouchers
{
public List<U8Voucher> voucher { get; set; }
}
[JsonObject]
public class U8Voucher
{
/// <summary>
///
/// </summary>
public bool ISDIFFLAG { get; set; }
/// <summary>
///
/// </summary>
public int attachment { get; set; }
/// <summary>
///
/// </summary>
public List<U8VouDetails> details { get; set; }
/// <summary>
///
/// </summary>
private string _explanation = ""; ///
public string explanation
{
get { return _explanation; }
set { _explanation = value; }
}
/// <summary>
///
/// </summary>
private string _no = ""; /// /// ///
public string no
{
get { return _no; }
set { _no = value; }
}
/// <summary>
///
/// </summary>
public string pk_corp { get; set; }
/// <summary>
///
/// </summary>
public string pk_glorgbook { get; set; }
/// <summary>
///
/// </summary>
public string pk_prepared { get; set; }
/// <summary>
/// 记账
/// </summary>
public string pk_vouchertype { get; set; }
/// <summary>
///
/// </summary>
public string prepareddate { get; set; }
/// <summary>
///
private string _voucherkind = ""; /// ///
public string voucherkind
{
get { return _voucherkind; }
set { _voucherkind = value; }
}
/// </summary>
public string pk_system { get; set; }
public string modifyflag { get; set; }
public string period { get; set; }
public string year { get; set; }
}
[JsonObject]
public class U8VouData
{
/// <summary>
///
/// </summary>
public List<U8Voucher> voucher { get; set; }
}
[JsonObject]
public class vouitems
{
public string ORDNO { get; set; }
public int ITEMNO { get; set; }
public string ACCID { get; set; }
public string DC { get; set; }
public string AMTDR { get; set; }
public string AMTCR { get; set; }
public string FCY { get; set; }
public string FCYNO { get; set; }
public decimal FCYEXCHANGE { get; set; }
public string FCYDR { get; set; }
public string FCYCR { get; set; }
public string EXPLAN { get; set; }
public string CORPACC { get; set; }
public string DEPTACC { get; set; }
public string ITEMACC { get; set; }
public string BANKACC { get; set; }
public string CORPCODE { get; set; }
public string DEPTCODE { get; set; }
public string ITEMCODE { get; set; }
public string BANKCODE { get; set; }
public string CORPID{ get; set; }
public string DEPTID { get; set; }
public string ITEMID { get; set; }
}
[JsonObject]
public class voucher
{
public string ORDNO { get; set; }
public string VKNO { get; set; }
public string VOUDATE { get; set; }
public string ACCYEAR { get; set; }
public string ACCMONTH { get; set; }
public int ATTACHS { get; set; }
public string PREPARED { get; set; }
}
[JsonObject]
public class MsOpSeaeEdi : ModelObjectBillHead
{
public string statustext { get; set; }
public string statustime { get; set; }
public string comname { get; set; }
public string YJDGSJ { get; set; }
public string YJLGSJ { get; set; }
public string statusMTFX { get; set; }
public string statusWLFX { get; set; }
public string comid { get; set; }
public string ShenBaoXiangShu { get; set; }
#region 读写属性
private string _DATTN = "";
private string _DTEL = "";
private string _ZhiFaText = "";
//[ModelDB]
public string ZhiFaText
{
get => _ZhiFaText;
set => _ZhiFaText = value;
}
private int _QueRenWanCheng = 0;
[ModelDB]
public int QueRenWanCheng { get => _QueRenWanCheng; set => _QueRenWanCheng = value; }
private int _ISNOR = 0;
[ModelDB]
public int ISNOR { get => _ISNOR; set => _ISNOR = value; }
private string _INPUTBYID = "";
/// <summary>
/// 录入人ID
/// </summary>
[ModelDB]
public string INPUTBYID
{
get { return _INPUTBYID; }
set { _INPUTBYID = value; }
}
private string _WeiTuoFaSongFang = "";
/// <summary>
/// 委托发送方
/// </summary>
[ModelDB]
public string WeiTuoFaSongFang
{
get { return _WeiTuoFaSongFang; }
set { _WeiTuoFaSongFang = value; }
}
private string _jizhuangxiang = "";
/// <summary>
/// 集装箱
/// </summary>
[ModelDB]
public string JiZhuangXiang
{
get { return _jizhuangxiang; }
set { _jizhuangxiang = value; }
}
private string _mfno = Guid.NewGuid().ToString();
/// <summary>
/// 编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string MFNO
{
get { return _mfno; }
set { _mfno = value; }
}
private string _corpid = "";
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _bsno = "";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
private string _masterno = "";
/// <summary>
/// 主编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MASTERNO
{
get { return _masterno; }
set { _masterno = value; }
}
private string _editype = "";
[ModelDB]
public string EDITYPE
{
get { return _editype; }
set { _editype = value; }
}
private string _edistatus = "";
/// <summary>
/// 委托编号
/// </summary>
[ModelDB]
public string EDISTATUS
{
get { return _edistatus; }
set { _edistatus = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get { return _inputby; }
set { _inputby = value; }
}
private string _inputdate = "";
/// <summary>
/// 录入日期
/// </summary>
[ModelDB]
public string INPUTDATE
{
get { return _inputdate; }
set { _inputdate = 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 _shippercode = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERCODE
{
get { return _shippercode; }
set { _shippercode = value; }
}
private string _shippername = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERNAME
{
get { return _shippername; }
set { _shippername = 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 = "";
[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>
/// 收货人
/// </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 _consigneepostcode = "";
[ModelDB]
public string CONSIGNEEPOSTCODE
{
get { return _consigneepostcode; }
set { _consigneepostcode = value; }
}
private string _consigneecountry = "";
[ModelDB]
public string CONSIGNEECOUNTRY
{
get { return _consigneecountry; }
set { _consigneecountry = 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 bool _issameconsignee = false;
/// <summary>
/// 同收货人
/// </summary>
[ModelDB]
public bool ISSAMECONSIGNEE
{
get { return _issameconsignee; }
set { _issameconsignee = value; }
}
private string _notifypartycode = "";
/// <summary>
/// 通知人
/// </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 _notifypartypostcode = "";
[ModelDB]
public string NOTIFYPARTYPOSTCODE
{
get { return _notifypartypostcode; }
set { _notifypartypostcode = value; }
}
private string _notifypartycountry = "";
[ModelDB]
public string NOTIFYPARTYCOUNTRY
{
get { return _notifypartycountry; }
set { _notifypartycountry = 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 _notifyparty2name = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTY2NAME
{
get { return _notifyparty2name; }
set { _notifyparty2name = value; }
}
private string _notifyparty2addr1 = "";
[ModelDB]
public string NOTIFYPARTY2ADDR1
{
get { return _notifyparty2addr1; }
set { _notifyparty2addr1 = value; }
}
private string _notifyparty2addr2 = "";
[ModelDB]
public string NOTIFYPARTY2ADDR2
{
get { return _notifyparty2addr2; }
set { _notifyparty2addr2 = value; }
}
private string _notifyparty2addr3 = "";
[ModelDB]
public string NOTIFYPARTY2ADDR3
{
get { return _notifyparty2addr3; }
set { _notifyparty2addr3 = value; }
}
private string _notifyparty2city = "";
[ModelDB]
public string NOTIFYPARTY2CITY
{
get { return _notifyparty2city; }
set { _notifyparty2city = value; }
}
private string _notifyparty2provice = "";
[ModelDB]
public string NOTIFYPARTY2PROVINCE
{
get { return _notifyparty2provice; }
set { _notifyparty2provice = value; }
}
private string _notifyparty2postcode = "";
[ModelDB]
public string NOTIFYPARTY2POSTCODE
{
get { return _notifyparty2postcode; }
set { _notifyparty2postcode = value; }
}
private string _notifyparty2country = "";
[ModelDB]
public string NOTIFYPARTY2COUNTRY
{
get { return _notifyparty2country; }
set { _notifyparty2country = value; }
}
private string _notifyparty2attn = "";
[ModelDB]
public string NOTIFYPARTY2ATTN
{
get { return _notifyparty2attn; }
set { _notifyparty2attn = value; }
}
private string _notifyparty2tel = "";
[ModelDB]
public string NOTIFYPARTY2TEL
{
get { return _notifyparty2tel; }
set { _notifyparty2tel = 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 _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 _eta;
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = 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 _PLACERECEIPTID = "";
/// <summary>
/// 装货港代码
/// </summary>
[ModelDB]
public string PLACERECEIPTID
{
get { return _PLACERECEIPTID; }
set { _PLACERECEIPTID = value; }
}
private string _PLACERECEIPT = "";
/// <summary>
/// 装货港
/// </summary>
[ModelDB]
public string PLACERECEIPT
{
get { return _PLACERECEIPT; }
set { _PLACERECEIPT = 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 _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 _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 _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = 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 string _freightagmno = "";
/// <summary>
/// 运费协议号
/// </summary>
[ModelDB]
public string FREIGHTAGMNO
{
get { return _freightagmno; }
set { _freightagmno = value; }
}
private string _shipimo = "";
/// <summary>
/// 船舶IMO号 船舶呼号
/// </summary>
[ModelDB]
public string SHIPIMO
{
get { return _shipimo; }
set { _shipimo = value; }
}
private string _carrierid = "";
/// <summary>
/// 船公司代码
/// </summary>
[ModelDB]
public string CARRIERID
{
get { return _carrierid; }
set { _carrierid = value; }
}
private string _orderno = "";
/// <summary>
/// 订舱编号
/// </summary>
[ModelDB]
public string ORDERNO
{
get { return _orderno; }
set { _orderno = value; }
}
private string _filerole = "";
/// <summary>
/// 传输目的
/// </summary>
[ModelDB]
public string FILEROLE
{
get { return _filerole; }
set { _filerole = value; }
}
private string _packingtype = "";
/// <summary>
/// 装箱类型
/// </summary>
[ModelDB]
public string PACKINGTYPE
{
get { return _packingtype; }
set { _packingtype = value; }
}
private string _shipserviceno = "";
/// <summary>
/// 船舶服务号
/// </summary>
[ModelDB]
public string SHIPSERVICENO
{
get { return _shipserviceno; }
set { _shipserviceno = value; }
}
private string _transtype = "";
/// <summary>
/// 运输方式
/// </summary>
[ModelDB]
public string TRANSTYPE
{
get { return _transtype; }
set { _transtype = value; }
}
private string _filetype;
/// <summary>
/// 文件类型
/// </summary>
[ModelDB]
public string FILETYPE
{
get { return _filetype; }
set { _filetype = value; }
}
private bool _islasthbl = false;
/// <summary>
/// 是否最后一票分票
/// </summary>
[ModelDB]
public bool ISLASTHBL
{
get { return _islasthbl; }
set { _islasthbl = value; }
}
private string _blfrt = "FREIGHT PREPAID";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string BLFRT
{
get { return _blfrt; }
set { _blfrt = value; }
}
private string _issueplace = "";
/// <summary>
/// 签单地点
/// </summary>
[ModelDB]
public string ISSUEPLACE
{
get { return _issueplace; }
set { _issueplace = value; }
}
private string _etdtime = "";
/// <summary>
/// 开船时间
/// </summary>
[ModelDB]
public string ETDTIME
{
get { return _etdtime; }
set { _etdtime = value; }
}
private string _agentid = "";
/// <summary>
/// 代理代码
/// </summary>
[ModelDB]
public string AGENTID
{
get { return _agentid; }
set { _agentid = value; }
}
private string _cntrsealno = "";
/// <summary>
/// 箱号封号
/// </summary>
[ModelDB]
public string CNTRSEALNO
{
get { return _cntrsealno; }
set { _cntrsealno = value; }
}
private string _sendtime;
public string SENDTIME
{
get { return _sendtime; }
set { _sendtime = value; }
}
private string _status = "";
/// <summary>
/// 状态
/// </summary>
[ModelDB]
public string STATUS
{
get { return _status; }
set { _status = value; }
}
private string _yard = "";
/// <summary>
/// 场站/靠泊码头
/// </summary>
[ModelDB]
public string YARD
{
get { return _yard; }
set { _yard = value; }
}
private string _changereson = "";
/// <summary>
/// 更改原因
/// </summary>
[ModelDB]
public string CHANGERESON
{
get { return _changereson; }
set { _changereson = value; }
}
private string _carrier = "";
/// <summary>
/// 船公司
/// </summary>
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _dcarrier = "";
/// <summary>
/// 船代
/// </summary>
[ModelDB]
public string DCARRIER
{
get { return _dcarrier; }
set { _dcarrier = value; }
}
private string _forwarder = "";
/// <summary>
/// 订舱公司
/// </summary>
[ModelDB]
public string FORWARDER
{
get { return _forwarder; }
set { _forwarder = value; }
}
private string _CNTRNO = "";
/// <summary>
/// 集装箱全部内容
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _CNTRNO; }
set { _CNTRNO = value; }
}
private int _ctnnum = 0;
/// <summary>
/// 报关票数
/// </summary>
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private string _remarks = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARKS
{
get { return _remarks; }
set { _remarks = value; }
}
private string _arvessel = "";
/// <summary>
/// 船名
/// </summary>
[ModelDB]
public string ARVESSEL
{
get { return _arvessel; }
set { _arvessel = value; }
}
private string _arvoyno = "";
/// <summary>
/// 航次
/// </summary>
[ModelDB]
public string ARVOYNO
{
get { return _arvoyno; }
set { _arvoyno = value; }
}
private string _arshipserviceno = "";
/// <summary>
/// 船舶服务号
/// </summary>
[ModelDB]
public string ARSHIPSERVICENO
{
get { return _arshipserviceno; }
set { _arshipserviceno = value; }
}
private string _arshipimo = "";
/// <summary>
/// 船舶IMO号
/// </summary>
[ModelDB]
public string ARSHIPIMO
{
get { return _arshipimo; }
set { _arshipimo = value; }
}
private string _MANIFESTSTATUS = "";
public string MANIFESTSTATUS
{
get { return _MANIFESTSTATUS; }
set { _MANIFESTSTATUS = value; }
}
private string _leixingShou = "";
/// <summary>
/// 类型 收货人
/// </summary>
[ModelDB]
public string LeiXingShou
{
get { return _leixingShou; }
set { _leixingShou = value; }
}
private string _leixingFa = "";
/// <summary>
/// 类型 发货人
/// </summary>
[ModelDB]
public string LeiXingFa
{
get { return _leixingFa; }
set { _leixingFa = value; }
}
private string _leixingTong = "";
/// <summary>
/// 类型 通知人
/// </summary>
[ModelDB]
public string LeiXingTong
{
get { return _leixingTong; }
set { _leixingTong = value; }
}
private string _daimaShou = "";
/// <summary>
/// 代码 收货人
/// </summary>
[ModelDB]
public string DaiMaShou
{
get { return _daimaShou; }
set { _daimaShou = value; }
}
private string _daimaFa = "";
/// <summary>
/// 代码 发货人
/// </summary>
[ModelDB]
public string DaiMaFa
{
get { return _daimaFa; }
set { _daimaFa = value; }
}
private string _daimaTong = "";
/// <summary>
/// 代码 通知人
/// </summary>
[ModelDB]
public string DaiMaTong
{
get { return _daimaTong; }
set { _daimaTong = value; }
}
[ModelDB]
public string DATTN { get => _DATTN; set => _DATTN = value; }
[ModelDB]
public string DTEL { get => _DTEL; set => _DTEL = value; }
public string SENDREMARK { get; set; }
public decimal PRICE { get; set; }
public decimal DRAMOUNT { get; set; }
public List<MsOpSeaeEdiCtn> CTNLIST { get; set; }
#endregion
public MsOpSeaeEdi()
{
TableName = "op_seae_edi";
}
override public string GetBillNoFieldName()
{
return "MFNO";
}
}
[JsonObject]
public class MsOpSeaeEdiCtn : ModelObjectBillBody
{
#region 读写属性
private string _ChengZhongZhongLiang;
private string _ChengZhongFangShi;
private string _ChengZhongShiJian;
private string _ZhongKongBiaoShi;
private string _PIZHONG;
/// <summary>
/// 重空标识
/// </summary>
[ModelDB]
public string ZhongKongBiaoShi
{
get { return _ZhongKongBiaoShi; }
set { _ZhongKongBiaoShi = value; }
}
private string _ctn_id = "";
/// <summary>
/// 编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private string _MFNO = "";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MFNO
{
get { return _MFNO; }
set { _MFNO = value; }
}
private string _ctncode = "";
/// <summary>
/// 箱型代码
/// </summary>
[ModelDB]
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private string _size = "";
/// <summary>
/// 尺寸
/// </summary>
[ModelDB]
public string SIZE
{
get { return _size; }
set { _size = value; }
}
private string _ctn = "";
/// <summary>
/// 箱型
/// </summary>
[ModelDB]
public string CTN
{
get { return _ctn; }
set { _ctn = value; }
}
private int _ctnnum = 0;
/// <summary>
/// 箱量
/// </summary>
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private int _teu = 0;
/// <summary>
/// TEU
/// </summary>
[ModelDB]
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _ctnall = "";
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private string _cntrno = "";
/// <summary>
/// 箱号
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
/// <summary>
/// 封号
/// </summary>
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 重量
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
/// <summary>
/// KINDPKGS
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private string _DESCRIPTION = "";
[ModelDB]
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = value; }
}
private string _MARKS = "";
[ModelDB]
public string MARKS
{
get { return _MARKS; }
set { _MARKS = value; }
}
private string _PO = "";
[ModelDB]
public string PO
{
get { return _PO; }
set { _PO = value; }
}
private string _SKU = "";
[ModelDB]
public string SKU
{
get { return _SKU; }
set { _SKU = value; }
}
private string _SKUDESCRIP = "";
[ModelDB]
public string SKUDESCRIP
{
get { return _SKUDESCRIP; }
set { _SKUDESCRIP = value; }
}
private string _DUNNO = "";
[ModelDB]
public string DUNNO
{
get { return _DUNNO; }
set { _DUNNO = value; }
}
private string _HTS = "";
[ModelDB]
public string HTS
{
get { return _HTS; }
set { _HTS = value; }
}
private string _CTOFORIGIN = "";
[ModelDB]
public string CTOFORIGIN
{
get { return _CTOFORIGIN; }
set { _CTOFORIGIN = value; }
}
private string _CTNOWNER = "";
[ModelDB]
public string CTNOWNER
{
get { return _CTNOWNER; }
set { _CTNOWNER = value; }
}
private decimal _GOODVALUE = 0;
[ModelDB]
public decimal GOODVALUE
{
get { return _GOODVALUE; }
set { _GOODVALUE = value; }
}
private string _ShiFengRen = "";
/// <summary>
/// 施封人
/// </summary>
[ModelDB]
public string ShiFengRen
{
get { return _ShiFengRen; }
set { _ShiFengRen = value; }
}
private string _APICTNID = "";
[ModelDB]
public string APICTNID
{
get { return _APICTNID; }
set { _APICTNID = value; }
}
[ModelDB]
public string ChengZhongZhongLiang { get => _ChengZhongZhongLiang; set => _ChengZhongZhongLiang = value; }
[ModelDB]
public string ChengZhongFangShi { get => _ChengZhongFangShi; set => _ChengZhongFangShi = value; }
[ModelDB]
public string ChengZhongShiJian { get => _ChengZhongShiJian; set => _ChengZhongShiJian = value; }
[ModelDB]
public string PIZHONG { get => _PIZHONG; set => _PIZHONG = value; }
#endregion
public MsOpSeaeEdiCtn()
{
TableName = "op_seae_edi_ctn";
}
}
[JsonObject]
public class MsOpSeaeDG
{
/// <summary>
///
/// </summary>
public string gId { get; set; }
/// <summary>
///
/// </summary>
public string shipper { get; set; }
/// <summary>
///
/// </summary>
public string transportNumber { get; set; }
/// <summary>
///
/// </summary>
public string pageOfPages { get; set; }
/// <summary>
///
/// </summary>
public string shipperReference { get; set; }
/// <summary>
///
/// </summary>
public string freightForwarderReference { get; set; }
/// <summary>
///
/// </summary>
public string consignee { get; set; }
/// <summary>
///
/// </summary>
public string carrier { get; set; }
/// <summary>
///
/// </summary>
public string shipperdeclaration { get; set; }
/// <summary>
///
/// </summary>
public string contactPerson { get; set; }
/// <summary>
///
/// </summary>
public string contactTelephone { get; set; }
/// <summary>
///
/// </summary>
public DateTime vesselOrflightNoAndDate { get; set; }
/// <summary>
///
/// </summary>
public string portPlaceOfLoading { get; set; }
/// <summary>
///
/// </summary>
public string PortPlaceOfDischarge { get; set; }
/// <summary>
///
/// </summary>
public string destination { get; set; }
/// <summary>
///
/// </summary>
public string descriptionOfGoods { get; set; }
/// <summary>
///
/// </summary>
public string nameOfCompany { get; set; }
/// <summary>
///
/// </summary>
public string nameStatusDeclarant { get; set; }
/// <summary>
///
/// </summary>
public string placeDate { get; set; }
/// <summary>
///
/// </summary>
public string signatureDeclarant { get; set; }
/// <summary>
///
/// </summary>
public string organizationreceipt { get; set; }
/// <summary>
///
/// </summary>
public string createTime { get; set; }
/// <summary>
///
/// </summary>
public string lastUpdateTime { get; set; }
public List<JFSubDtos> jFSubDtos { get; set; }
}
[JsonObject]
public class Gson
{
/// <summary>
///
/// </summary>
public string GId { get; set; }
/// <summary>
///
/// </summary>
public string PId { get; set; }
/// <summary>
///
/// </summary>
public string MId { get; set; }
/// <summary>
///
/// </summary>
public string UNNO { get; set; }
/// <summary>
///
/// </summary>
public string ProperShippingName { get; set; }
/// <summary>
///
/// </summary>
public string TechnicalName { get; set; }
/// <summary>
///
/// </summary>
public string ImoClass { get; set; }
/// <summary>
///
/// </summary>
public string PackingGroup { get; set; }
/// <summary>
///
/// </summary>
public string FlashPoint { get; set; }
/// <summary>
///
/// </summary>
public string MarinePollutant { get; set; }
/// <summary>
///
/// </summary>
public string BoilingPoint { get; set; }
/// <summary>
///
/// </summary>
public string PackageType { get; set; }
/// <summary>
///
/// </summary>
public string PackageQuantity { get; set; }
/// <summary>
///
/// </summary>
public string PackingCode { get; set; }
/// <summary>
///
/// </summary>
public string GrossWeight { get; set; }
/// <summary>
///
/// </summary>
public string NetWeight { get; set; }
/// <summary>
///
/// </summary>
public string LimitedQuantity { get; set; }
/// <summary>
///
/// </summary>
public string BrandFactory { get; set; }
/// <summary>
///
/// </summary>
public string InnerPackage { get; set; }
/// <summary>
///
/// </summary>
public string Subrisk1 { get; set; }
/// <summary>
///
/// </summary>
public string Subrisk2 { get; set; }
/// <summary>
///
/// </summary>
public string EMS { get; set; }
/// <summary>
///
/// </summary>
public string NaNumber { get; set; }
/// <summary>
///
/// </summary>
public string ControlTemperature { get; set; }
/// <summary>
///
/// </summary>
public string EmergencyTemperature { get; set; }
/// <summary>
///
/// </summary>
public string IMDGCodeSegregationGroup { get; set; }
/// <summary>
///
/// </summary>
public string UNNOSufficSequence { get; set; }
/// <summary>
///
/// </summary>
public string InnerPackageType { get; set; }
}
[JsonObject]
public class JFSubDtos
{
/// <summary>
///
/// </summary>
public string GId { get; set; }
/// <summary>
///
/// </summary>
public string PId { get; set; }
/// <summary>
///
/// </summary>
public string ContainerNumber { get; set; }
/// <summary>
///
/// </summary>
public string SealNumber { get; set; }
/// <summary>
///
/// </summary>
public string ContainerSize { get; set; }
/// <summary>
///
/// </summary>
public string TareMass { get; set; }
/// <summary>
///
/// </summary>
public string CreateTime { get; set; }
/// <summary>
///
/// </summary>
public string LastUpdateTime { get; set; }
/// <summary>
///
/// </summary>
public List<Gson> gson { get; set; }
}
//
}