|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 马士基订舱请求
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MSKBookingDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string carrierId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合同唯一id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceReference { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品类型(MaerskSpot, SealandSpot, MaerskContract)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string productCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 请求类别, 目前只能传 BOOKAPI
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string sender { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱公司名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bookedByCompanyName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运人id,用于识别预定方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bookedByMaerskPartyCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱公司名称联系人姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bookedByCompanyContactName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱公司名称联系人邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bookedByCompanyContactEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱公司名称联系人电话号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string bookedByCompanyContactPhone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前订舱公司是否也是合约方 true-标识合约信息跟订舱公司一致,false-标识有单独的合约方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool isBookingPartOwnPrice { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价格所有者公司名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceOwnerCompanyName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价格所有者id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceOwnerMaerskPartyCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价格所有者联系人姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceOwnerContactName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价格所有者联系人邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceOwnerContactEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价格所有者联系人电话号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string priceOwnerContactPhone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运人代码(MAEU, SEAU, SEJJ, MCPU, MAEI)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string carrierCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最早起运日期, 不可小于当前日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string earliestDepartureDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出口服务类型(CY, SD, CFS)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string exportServiceMode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 进口服务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string importServiceMode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地UN地点代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string placeOfReceiptUnLocCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地城市英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string placeOfReceiptCityName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地UN地点代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string placeOfDeliveryUnLocCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地城市英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string placeOfDeliveryCityName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出发时间, ISO时间格式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime originDepartureDateTimeLocal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 到达时间, ISO时间格式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime destinationArrivalDateTimeLocal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否冷冻处理
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool isReefer { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度探头的数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> noOfProbes { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<decimal> temperature { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通风
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> ventilation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 湿度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> humidity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string commodityCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物类型, 箱型, 为REEFER 时, 需要上传reeferSettings参数中的温度,通风,湿度等(DRY, REEFER)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cargoType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> totalCargoWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物总体积
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<decimal> totalCargoVolume { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物代码类型, 目前只能传 MaerskCode
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string commodityCodeType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ctnCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> ctnNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱内重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<decimal> ctnSufferWeight { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|