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.
BookingHeChuan/Myshipping.Application/Service/BookingOrder/Dto/MSKSPOT/MSKAPISPOTSearchScheduleRat...

400 lines
9.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
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; }
}
/// <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; }
}
}