using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public class MSKAPISPOTSearchScheduleRateResultDto { /// /// 回执代码 /// public int code { get; set; } /// /// 回执消息 /// public string msg { get; set; } /// /// 回执代码 /// public List data { get; set; } } /// /// 马士基即期船期查询结果 /// public class MSKAPISPOTSearchScheduleRateResultDataDto: MSKAPISPOTSearchScheduleRateResultDataBaseDto { /// /// 船期MD5 /// public string MD5 { get; set; } /// /// 主键ID /// public long PId { get; set; } } public class MSKAPISPOTScheduleRateResultShowDto { /// /// 主键ID /// public long PId { get; set; } /// /// 船期MD5 /// public string MD5 { get; set; } /// /// 价格id, 可进一步通过API进行其他操作 /// public string priceID { get; set; } /// /// 币别 /// public string TotalCurrency { get; set; } /// /// 金额 /// public decimal totalAmount { get; set; } /// /// 是否中转 /// public bool isTransfer { get; set; } /// /// ETD /// public Nullable ETD { get; set; } /// /// ETA /// public Nullable ETA { get; set; } /// /// 城市名(始发地) /// public string orignCityName { get; set; } /// /// 地点的GEO ID(始发地) /// public string orignCarrierSiteGeoID { get; set; } /// /// 地点的CITY GEO ID(始发地) /// public string orignCarrierCityGeoID { get; set; } /// /// 地点的名称(始发地) /// public string orignLocationName { get; set; } /// /// 省 /// public string originRegionName { get; set; } /// /// 国家代码(始发地) /// public string orignCountryCode { get; set; } /// ///国家名称(始发地) /// public string originCountryName { get; set; } /// /// 位置类型(始发地) /// public string orignLocationType { get; set; } /// /// 五字码(始发地) /// public string orignUNLocationCode { get; set; } /// /// 区代码(始发地) /// public string orignUNRegionCode { get; set; } /// /// 城市名(目的地) /// public string deliveryCityName { get; set; } /// /// 地点的GEO ID(目的地) /// public string deliveryCarrierSiteGeoID { get; set; } /// /// 地点的CITY GEO ID(目的地) /// public string deliveryCarrierCityGeoID { get; set; } /// /// 地点的名称(目的地) /// public string deliveryLocationName { get; set; } /// /// 省 /// public string deliveryRegionName { get; set; } /// /// 国家代码(目的地) /// public string deliveryCountryCode { get; set; } /// /// 国家名称(目的地) /// public string deliveryCountryName { get; set; } /// /// 位置类型(目的地) /// public string deliveryLocationType { get; set; } /// /// 五字码(目的地) /// public string deliveryUNLocationCode { get; set; } /// /// 区代码(目的地) /// public string deliveryUNRegionCode { get; set; } /// /// IMO /// public string vesselIMONumber { get; set; } /// /// 航次号 /// public string carrierVesselCode { get; set; } /// /// 运输方式 /// public string transportMode { get; set; } /// /// 船名 /// public string vesselName { get; set; } /// /// 航次代码 /// public string carrierDepartureVoyageNumber { get; set; } /// /// 承运人代码(MAEU, SEAU, SEJJ, MCPU, MAEI) /// public string vesselOperatorCarrierCode { get; set; } /// /// 行程天数 /// public int days { get; set; } /// /// 航程明细 /// public List Legs { get; set; } } public class MSKAPISPOTScheduleRateResultShowLegsDto { /// /// 排序值 /// public int SortNo { get; set; } /// /// 船名 /// public string vesselName { get; set; } /// /// 航次 /// public string VoyageNo { get; set; } /// /// ETD /// public Nullable ETD { get; set; } /// /// ATD /// public Nullable ETA { get; set; } /// /// 起始地 /// public MSKAPISPOTScheduleRateResultShowLegsLocationDto From { get; set; } /// /// 目的地 /// public MSKAPISPOTScheduleRateResultShowLegsLocationDto To { get; set; } } public class MSKAPISPOTScheduleRateResultShowLegsLocationDto { /// /// 定位类型 From-起始地 To-目的地 /// public string LocationType { get; set; } /// /// 码头定位ID /// public string SiteGeoId { get; set; } /// /// 城市定位ID /// public string CityGeoId { get; set; } /// /// /// public string rkstCode { get; set; } /// /// 城市定位ID /// public string UnLocCode { get; set; } /// /// 码头全称 /// public string SiteName { get; set; } /// /// 城市名 /// public string CityName { get; set; } /// /// 省 /// public string RegionName { get; set; } /// /// 特别行政区或国家代码 /// public string CountryCode { get; set; } /// /// 特别行政区或国家名称 /// public string CountryName { get; set; } } /// /// 马士基即期船期查询结果 /// public class MSKAPISPOTSearchScheduleRateResultDataBaseDto { /// /// 价格id, 可进一步通过API进行其他操作 /// public string priceID { get; set; } /// /// 承运人代码 /// public string brandScac { 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 string departureDate { get; set; } /// /// 到达日期 /// public string arrivalDate { get; set; } /// /// 中转日期 /// public string transitTime { get; set; } /// /// 中转日期 /// public string isTransfer { get; set; } /// /// 船名 /// public string vesselName { get; set; } /// /// 航次 /// public string voyageNumber { get; set; } /// /// 海运费 /// public Nullable oceanFreight { get; set; } /// /// 海运费币种 /// public string oceanCurrency { get; set; } /// /// 总费用 /// public Nullable totalAmount { get; set; } /// /// 总费用币种 /// public string totalCurrency { get; set; } /// /// 航程明细 /// public List scheduleDetails { get; set; } } /// /// 马士基即期船期航程详情 /// public class MSKAPISPOTSearchScheduleRateResultDetailDto { /// /// 截止信息 /// public List deadlines { get; set; } /// /// 航程开始信息 /// public MSKAPISPOTSearchScheduleRateResultLocationDto fromLocation { get; set; } /// /// 航程结束信息 /// public MSKAPISPOTSearchScheduleRateResultLocationDto toLocation { get; set; } /// /// 运输工具信息 /// public MSKAPISPOTSearchScheduleRateResultTransportDto transport { get; set; } /// /// 服务代码 /// public string serviceCode { get; set; } /// /// 服务名 /// public string serviceName { get; set; } /// /// 运营商代号 /// public string carrierCode { get; set; } /// /// 路线类型 /// public string routingType { get; set; } } /// /// 截止信息 /// public class MSKAPISPOTSearchScheduleRateResultDeadlineDto { /// /// 截止key /// public string deadlineKey { get; set; } /// /// 名字 /// public string name { get; set; } /// /// 类型 /// public string type { get; set; } /// /// 截止日期 /// public string deadline { get; set; } } /// /// 港口信息 /// public class MSKAPISPOTSearchScheduleRateResultLocationDto { /// /// 类型 /// public string type { get; set; } /// /// 地区geoid /// public string siteGeoId { get; set; } /// /// 城市geoid /// public string cityGeoId { get; set; } /// /// rkst代码 /// public string rkstCode { get; set; } /// /// 五子码 /// public string unLocCode { get; set; } /// /// 地区名 /// public string siteName { get; set; } /// /// 城市名 /// public string cityName { get; set; } /// /// 区名 /// public string regionName { get; set; } /// /// 国家代码 /// public string countryCode { get; set; } /// /// 国家名称 /// public string countryName { get; set; } /// /// 日期 /// public string date { get; set; } /// /// 时间 /// public string time { get; set; } } /// /// 运输工具信息 /// public class MSKAPISPOTSearchScheduleRateResultTransportDto { /// /// 运输方式代码 /// public string transportMode { get; set; } /// /// 船舶数据 /// public MSKAPISPOTSearchScheduleRateResultVesselDto vessel { get; set; } /// /// 贸易航线 /// public string tradeLane { get; set; } /// /// 航次号 /// public string voyageNumber { get; set; } } /// /// 船舶数据 /// public class MSKAPISPOTSearchScheduleRateResultVesselDto { /// /// 代码 /// public string code { get; set; } /// /// 船名 /// public string name { get; set; } /// /// MSK id /// public string maerskId { get; set; } /// /// 船名 /// public string longName { get; set; } /// /// 标志代码 /// public string flagCode { get; set; } /// /// 标志名 /// public string flagName { get; set; } /// /// imo 号 /// public string imoNumber { get; set; } /// /// 建造年份 /// public string buildYear { get; set; } /// /// 命名 /// public string callSign { get; set; } /// /// 容积 /// public string capacityTEU { get; set; } /// /// 航线类别 /// public string vesselClass { get; set; } } }