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.

681 lines
16 KiB
C#

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