using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Dtos { /// /// 马士基点对点查询船期回执 /// public class MSKAPISearchPoint2PointScheduleResultDto { /// /// 回执代码 /// public int code { get; set; } /// /// 回执消息 /// public string msg { get; set; } /// /// 回执代码 /// public List data { get; set; } } public class MSKAPISearchPoint2PointScheduleResultDataDto { /// /// 产品id /// public string carrierProductId { get; set; } /// /// 产品序号 /// public string carrierProductSequenceId { get; set; } /// /// 产品的生效日期,格式为YYYY-MM-DD /// public string productValidFromDate { get; set; } /// /// 产品的截止日期,格式为YYYY-MM-DD /// public string productValidToDate { get; set; } /// /// 产品从原产地到目的地的链接数 /// public string numberOfProductLinks { get; set; } /// /// 产品从原产地到目的地的链接数 /// public List transportSchedules { get; set; } } /// /// 路线的详细信息 /// public class MSKAPISearchTransportSchedules { /// /// 出发时间, ISO格式 /// public Nullable departureDateTime { get; set; } /// /// 到达时间, ISO格式 /// public Nullable arrivalDateTime { get; set; } /// /// 路线相关数据 /// public MSKAPISearchFacilities facilities { get; set; } /// /// 头程船信息 /// public MSKDepartureVessel firstDepartureVessel { get; set; } /// /// 通过的时间,以分钟为单位 /// public string transitTime { get; set; } /// /// The details for the individual schedule /// public List transportLegs { get; set; } /// /// 承运人代码(MAEU, SEAU, SEJJ, MCPU, MAEI) /// public string vesselOperatorCarrierCode { get; set; } //以下的字段是自己添加的不是船期返回的信息 /// /// 产品id /// public string carrierProductId { get; set; } /// /// 产品序号 /// public string carrierProductSequenceId { get; set; } /// /// 产品的生效日期,格式为YYYY-MM-DD /// public string productValidFromDate { get; set; } /// /// 产品的截止日期,格式为YYYY-MM-DD /// public string productValidToDate { get; set; } /// /// 产品从原产地到目的地的链接数 /// public string numberOfProductLinks { get; set; } /// /// 船期MD5 /// public string MD5 { get; set; } /// /// 主键ID /// public long PId { get; set; } /// /// 起运地rkst代码 /// public string originRkstCode { get; set; } /// /// 起运地geoID /// public string originGeoId { get; set; } /// /// 起运地五子码 /// public string originUnLocCode { get; set; } /// /// 起运地城市名 /// public string originCityName { get; set; } /// /// 起运地区名 /// public string originRegionName { get; set; } /// /// 起运地国家名 /// public string originCountryName { get; set; } /// /// 目的地rkst代码 /// public string destinationRkstCode { get; set; } /// /// 目的地geoID /// public string destinationGeoId { get; set; } /// /// 目的地五子码 /// public string destinationUnLocCode { get; set; } /// /// 目的地城市名 /// public string destinationCityName { get; set; } /// /// 目的地区名 /// public string destinationRegionName { get; set; } /// /// 目的地国家名 /// public string destinationCountryName { get; set; } } /// /// 路线相关数据 /// public class MSKAPISearchFacilities { /// /// 出发地港口信息 /// public MSKAPISearchFacilitiesCityInfo collectionOrigin { get; set; } /// /// 目的地港口信息 /// public MSKAPISearchFacilitiesCityInfo deliveryDestination { get; set; } } /// /// 城市信息 /// public class MSKAPISearchFacilitiesCityInfo { /// /// 城市名 /// public string cityName { get; set; } /// /// 地点的GEO ID /// public string carrierSiteGeoID { get; set; } /// /// 地点的名称 /// public string locationName { get; set; } /// /// 国家代码 /// public string countryCode { get; set; } /// /// 位置类型 /// public string locationType { get; set; } /// /// 五字码 /// public string UNLocationCode { get; set; } /// /// 区代码 /// public string UNRegionCode { get; set; } } /// /// 头程船信息 /// public class MSKDepartureVessel { /// /// IMO /// public string vesselIMONumber { get; set; } /// /// 船名代码 /// public string carrierVesselCode { get; set; } /// /// 船名 /// public string vesselName { get; set; } } public class MSKTransportLegInfo { /// /// 出发时间, ISO格式 /// public Nullable departureDateTime { get; set; } /// /// 到达时间, ISO格式 /// public Nullable arrivalDateTime { get; set; } /// /// 路线相关数据 /// public MSKTransportLegInfoFacilities facilities { get; set; } /// /// 航运信息 /// public MSKAPISearchTransportInfo transport { get; set; } } /// /// /// public class MSKTransportLegInfoFacilities { /// /// 出发地港口信息 /// public MSKAPISearchFacilitiesCityInfo startLocation { get; set; } /// /// 目的地港口信息 /// public MSKAPISearchFacilitiesCityInfo endLocation { get; set; } } public class MSKAPISearchTransportInfo { /// /// 运输方式 /// public string transportMode { get; set; } /// /// 船信息 /// public MSKAPISearchVesselInfo vessel { get; set; } /// /// 贸易航线名称 /// public string carrierTradeLaneName { get; set; } /// /// 航次代码 /// public string carrierDepartureVoyageNumber { get; set; } /// /// Indicator that defines the link as a port call offered as an inducement /// public string inducementLinkFlag { get; set; } /// /// /// public string carrierServiceCode { get; set; } /// /// 服务代码 /// public string carrierServiceName { get; set; } /// /// 航行方向 /// public string linkDirection { get; set; } /// /// RKST system Carrier Code as defined by A.P. Moller-Maersk A/S for the scheduled carrier /// public string carrierCode { get; set; } /// /// Describes the type of route link /// public string routingType { get; set; } } public class MSKAPISearchVesselInfo { /// /// IMO号 /// public string vesselIMONumber { get; set; } /// /// 内部船舶代码 /// public string carrierVesselCode { get; set; } /// /// 船名 /// public string vesselName { get; set; } } }