|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.MvcShipping.Models.Message.VGM
|
|
|
|
|
{
|
|
|
|
|
public class edi
|
|
|
|
|
{
|
|
|
|
|
public head head { get; set; }
|
|
|
|
|
public Forward Forward { get; set; }
|
|
|
|
|
public reference reference { get; set; }
|
|
|
|
|
public detail detail { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class head
|
|
|
|
|
{
|
|
|
|
|
public string sndcom { get; set; }
|
|
|
|
|
public string sender { get; set; }
|
|
|
|
|
public string fromop { get; set; }
|
|
|
|
|
public string fromtele { get; set; }
|
|
|
|
|
public string fromfax { get; set; }
|
|
|
|
|
public string frommail { get; set; }
|
|
|
|
|
public string fromopc { get; set; }
|
|
|
|
|
public string fromope { get; set; }
|
|
|
|
|
public string accom { get; set; }
|
|
|
|
|
public string accepter { get; set; }
|
|
|
|
|
public string toop { get; set; }
|
|
|
|
|
public string sendtime { get; set; }
|
|
|
|
|
public string editype { get; set; }
|
|
|
|
|
public string EdiID { get; set; }
|
|
|
|
|
public string EdiName { get; set; }
|
|
|
|
|
public string EdiMode { get; set; }
|
|
|
|
|
public string EdiReceiver { get; set; }
|
|
|
|
|
public string EdiSender { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Forward
|
|
|
|
|
{
|
|
|
|
|
public string EdiForwardFMT { get; set; }
|
|
|
|
|
public string EdiForwardType { get; set; }
|
|
|
|
|
public string EdiForwardURL { get; set; }
|
|
|
|
|
public string EdiForwardId { get; set; }
|
|
|
|
|
public string EdiForwardPass { get; set; }
|
|
|
|
|
public string EdiForwardREFE1 { get; set; }
|
|
|
|
|
public string EdiForwardREFE2 { get; set; }
|
|
|
|
|
public string EdiForwardREFE3 { get; set; }
|
|
|
|
|
public string EdiForwardREFE4 { get; set; }
|
|
|
|
|
public string EdiForwardREFE5 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class reference
|
|
|
|
|
{
|
|
|
|
|
public string blfreight { get; set; }
|
|
|
|
|
public string refid { get; set; }
|
|
|
|
|
public string freid { get; set; }
|
|
|
|
|
public string referenceno { get; set; }
|
|
|
|
|
public string bookingno { get; set; }
|
|
|
|
|
public string workno { get; set; }
|
|
|
|
|
public string sale { get; set; }
|
|
|
|
|
public string billofladingno { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class detail
|
|
|
|
|
{
|
|
|
|
|
public baseinfo baseinfo { get; set; }
|
|
|
|
|
public cargo cargo { get; set; }
|
|
|
|
|
public booking booking { get; set; }
|
|
|
|
|
public freight freight { get; set; }
|
|
|
|
|
public goods goods { get; set; }
|
|
|
|
|
public dr dr { get; set; }
|
|
|
|
|
public loadplan loadplan { get; set; }
|
|
|
|
|
public string announce { get; set; }
|
|
|
|
|
public string remarks { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region baseinfo
|
|
|
|
|
public class baseinfo
|
|
|
|
|
{
|
|
|
|
|
public string orderman { get; set; }
|
|
|
|
|
public string source { get; set; }
|
|
|
|
|
public string usdaccountshipper { get; set; }
|
|
|
|
|
public string customshipper { get; set; }
|
|
|
|
|
public string rmbaccountshipper { get; set; }
|
|
|
|
|
public string paymenttermcode { get; set; }
|
|
|
|
|
public string paymentterm { get; set; }
|
|
|
|
|
public string payableat { get; set; }
|
|
|
|
|
public string shippingitem { get; set; }
|
|
|
|
|
public string billofladingtype { get; set; }
|
|
|
|
|
public string shipper { get; set; }
|
|
|
|
|
public string consignee { get; set; }
|
|
|
|
|
public string notifyparty { get; set; }
|
|
|
|
|
public string notifyparty2 { get; set; }
|
|
|
|
|
public string ordermemo { get; set; }
|
|
|
|
|
public string numberoforiginals { get; set; }
|
|
|
|
|
public string numberofcopys { get; set; }
|
|
|
|
|
public string placeofissuecode { get; set; }
|
|
|
|
|
public string placeofissue { get; set; }
|
|
|
|
|
public string timeofissue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region cargo
|
|
|
|
|
public class cargo
|
|
|
|
|
{
|
|
|
|
|
public string APPLICANT { get; set; }
|
|
|
|
|
public string BOKKINGPARTY { get; set; }
|
|
|
|
|
public string FOBPARTY { get; set; }
|
|
|
|
|
public string SCNO { get; set; }
|
|
|
|
|
public string QUARANTINECODING { get; set; }
|
|
|
|
|
public string SCACCODE { get; set; }
|
|
|
|
|
public string QUOTATIONNO { get; set; }
|
|
|
|
|
public string CHARGETYPE { get; set; }
|
|
|
|
|
public string NVOCCHBLNO { get; set; }
|
|
|
|
|
public string realshipper { get; set; }
|
|
|
|
|
public string realconsignee { get; set; }
|
|
|
|
|
public string realnotifyparty { get; set; }
|
|
|
|
|
public string realnotifyparty2 { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
public class booking
|
|
|
|
|
{
|
|
|
|
|
public string shipmentdate { get; set; }
|
|
|
|
|
public string expirydate { get; set; }
|
|
|
|
|
public string tranship { get; set; }
|
|
|
|
|
public string batch { get; set; }
|
|
|
|
|
public string quotationno { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#region freight
|
|
|
|
|
public class freight
|
|
|
|
|
{
|
|
|
|
|
public string fl { get; set; }
|
|
|
|
|
public string masterlclno { get; set; }
|
|
|
|
|
public string requestdate { get; set; }
|
|
|
|
|
public string lastdate { get; set; }
|
|
|
|
|
public string arrivedate { get; set; }
|
|
|
|
|
|
|
|
|
|
public port port { get; set; }
|
|
|
|
|
public vessel vessel { get; set; }
|
|
|
|
|
public info2nd info2nd { get; set; }
|
|
|
|
|
public container container { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class port
|
|
|
|
|
{
|
|
|
|
|
public string placeofreceipt { get; set; }
|
|
|
|
|
public string portofloading { get; set; }
|
|
|
|
|
public string portoftranship { get; set; }
|
|
|
|
|
public string portofdischarge { get; set; }
|
|
|
|
|
public string placeofdelivery { get; set; }
|
|
|
|
|
public string finaldestination { get; set; }
|
|
|
|
|
public string co_placeofreceipt { get; set; }
|
|
|
|
|
public string co_portofloading { get; set; }
|
|
|
|
|
public string co_portoftranship { get; set; }
|
|
|
|
|
public string co_portofdischarge { get; set; }
|
|
|
|
|
public string co_placeofdelivery { get; set; }
|
|
|
|
|
public string co_finaldestination { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class vessel
|
|
|
|
|
{
|
|
|
|
|
public string carrier { get; set; }
|
|
|
|
|
public string oceanvessel { get; set; }
|
|
|
|
|
public string voyno { get; set; }
|
|
|
|
|
public string etd { get; set; }
|
|
|
|
|
public string deliverymode { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#region info2nd
|
|
|
|
|
public class info2nd
|
|
|
|
|
{
|
|
|
|
|
public string carrier { get; set; }
|
|
|
|
|
public string oceanvessel { get; set; }
|
|
|
|
|
public string voyno { get; set; }
|
|
|
|
|
public string etd { get; set; }
|
|
|
|
|
public string deliverymode { get; set; }
|
|
|
|
|
public string remarks { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class remarks
|
|
|
|
|
{
|
|
|
|
|
public List<string> text { get; set; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public class container
|
|
|
|
|
{
|
|
|
|
|
public List<containers> containers { get; set; }
|
|
|
|
|
}
|
|
|
|
|
#region containers
|
|
|
|
|
public class containers
|
|
|
|
|
{
|
|
|
|
|
public string containertype { get; set; }
|
|
|
|
|
public string containerno { get; set; }
|
|
|
|
|
public string sealno { get; set; }
|
|
|
|
|
public string containernoofpkgs { get; set; }
|
|
|
|
|
public string containergrossweight { get; set; }
|
|
|
|
|
public string containercbm { get; set; }
|
|
|
|
|
public string containerpackagingcode { get; set; }
|
|
|
|
|
public string containerpackaging { get; set; }
|
|
|
|
|
public string containerdescription { get; set; }
|
|
|
|
|
public string containermarksandnumbers { get; set; }
|
|
|
|
|
public string vgmgrossmassweight { get; set; }
|
|
|
|
|
public string vgmweighingmethod { get; set; }
|
|
|
|
|
public string vgmweighingtime { get; set; }
|
|
|
|
|
public string vgmresponsibleparty { get; set; }
|
|
|
|
|
public string vgmauthorizedperson { get; set; }
|
|
|
|
|
public string vgmauthorizedpersontele { get; set; }
|
|
|
|
|
public string vgmauthorizedpersonmail { get; set; }
|
|
|
|
|
public string vgmremark { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region goods
|
|
|
|
|
public class goods
|
|
|
|
|
{
|
|
|
|
|
public string marksandnumbers { get; set; }
|
|
|
|
|
public string noofpkgs { get; set; }
|
|
|
|
|
public string packagingcode { get; set; }
|
|
|
|
|
public string packaging { get; set; }
|
|
|
|
|
public string cargoid { get; set; }
|
|
|
|
|
public string hscode { get; set; }
|
|
|
|
|
public string description { get; set; }
|
|
|
|
|
public string cdescription { get; set; }
|
|
|
|
|
public string grossweight { get; set; }
|
|
|
|
|
public string cbm { get; set; }
|
|
|
|
|
public string specialgoods { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region dr
|
|
|
|
|
public class dr
|
|
|
|
|
{
|
|
|
|
|
public string CLASS { get; set; }
|
|
|
|
|
public string PAGE { get; set; }
|
|
|
|
|
public string UNDGNO { get; set; }
|
|
|
|
|
public string TECNAME { get; set; }
|
|
|
|
|
public string PACKGROUP { get; set; }
|
|
|
|
|
public string LABEL { get; set; }
|
|
|
|
|
public string FLASHPOINT { get; set; }
|
|
|
|
|
public string FLASHUNIT { get; set; }
|
|
|
|
|
public string EMSNO { get; set; }
|
|
|
|
|
public string MFAGNO { get; set; }
|
|
|
|
|
public string MPT { get; set; }
|
|
|
|
|
public string Elinkman { get; set; }
|
|
|
|
|
public string DANGEROUS { get; set; }
|
|
|
|
|
public string TEMPERATURE { get; set; }
|
|
|
|
|
public string TEMPERATUREUNIT { get; set; }
|
|
|
|
|
public string MINTEMPERATURE { get; set; }
|
|
|
|
|
public string MAXTEMPERATURE { get; set; }
|
|
|
|
|
public string ALLCOLDTORAGE { get; set; }
|
|
|
|
|
public string VENTI { get; set; }
|
|
|
|
|
public string REEFER { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public class loadplan
|
|
|
|
|
{
|
|
|
|
|
public string entryno { get; set; }
|
|
|
|
|
public string warehouse { get; set; }
|
|
|
|
|
public string landcarrier { get; set; }
|
|
|
|
|
public string stuffdate { get; set; }
|
|
|
|
|
public string stuffmode { get; set; }
|
|
|
|
|
public string stuffaddress { get; set; }
|
|
|
|
|
public string stuffmemo { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Result
|
|
|
|
|
{
|
|
|
|
|
public string code { get; set; }
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
public ResultData data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ResultData
|
|
|
|
|
{
|
|
|
|
|
public string result { get; set; }
|
|
|
|
|
public string errorInfo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|