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/BookingDeliveryRecordDto.cs

524 lines
13 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 主要记录订舱发送时的详情记录
/// </summary>
public class BookingDeliveryRecordDto
{
/// <summary>
/// ID
/// </summary>
public long id { get; set; }
/// <summary>
/// 订舱ID
/// </summary>
public long bookingId { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string carrierId { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string carrier { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string priceReference { get; set; }
/// <summary>
/// 产品类型
/// </summary>
public string productCode { get; set; }
/// <summary>
/// 请求类别
/// </summary>
public string sender { get; set; }
/// <summary>
/// 订舱公司名称(英文全称)
/// </summary>
public string bookedByCompanyName { get; set; }
/// <summary>
/// 订舱公司代码
/// </summary>
public string bookedByCompanyPartyCode { get; set; }
/// <summary>
/// 订舱公司联系人名称
/// </summary>
public string bookedByCompanyContact { get; set; }
/// <summary>
/// 订舱公司联系人邮箱
/// </summary>
public string bookedByCompanyEmail { get; set; }
/// <summary>
/// 当前订舱公司是否也是合约方 1-标识合约信息跟订舱公司一致0-标识有单独的合约方
/// </summary>
public bool isbookingPartOwnPrice { get; set; }
/// <summary>
/// 价格所有者公司名称
/// </summary>
public string priceOwnerCompanyName { get; set; }
/// <summary>
/// 价格所有者代码
/// </summary>
public string priceOwnerCompanyPartyCode { get; set; }
/// <summary>
/// 价格所有者公司联系人名称
/// </summary>
public string priceOwnerCompanyContact { get; set; }
/// <summary>
/// 价格所有者公司联系人邮箱
/// </summary>
public string priceOwnerCompanyContactEmail { get; set; }
/// <summary>
/// 承运人代码
/// </summary>
public string carrierCode { get; set; }
/// <summary>
/// 最早起运日期
/// </summary>
public Nullable<DateTime> earliestDepartureDate { get; set; }
/// <summary>
/// 出口服务类型
/// </summary>
public string exportServiceMode { get; set; }
/// <summary>
/// 进口服务类型
/// </summary>
public string importServiceMode { get; set; }
/// <summary>
/// 收货地城市英文名称
/// </summary>
public string placeReceiptCity { get; set; }
/// <summary>
/// 收货地UN地点代码
/// </summary>
public string placeReceiptUnlocCode { get; set; }
/// <summary>
/// 收货地国家代码
/// </summary>
public string placeOfReceiptCountryCode { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string placeReceiptId { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string placeReceipt { get; set; }
/// <summary>
/// 交货地城市英文名称
/// </summary>
public string placeDeliveryCity { get; set; }
/// <summary>
/// 交货地UN地点代码
/// </summary>
public string placeDeliveryUnlocCode { get; set; }
/// <summary>
/// 交货地国家代码
/// </summary>
public string placeOfDeliveryCountryCode { get; set; }
/// <summary>
/// 预计开船日期
/// </summary>
public Nullable<DateTime> etd { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
public Nullable<DateTime> atd { get; set; }
/// <summary>
/// 预计航行天数
/// </summary>
public Nullable<int> EstSailingDays { get; set; }
/// <summary>
/// 船名
/// </summary>
public string vessel { get; set; }
/// <summary>
/// 船名代码
/// </summary>
public string vesselCode { get; set; }
/// <summary>
/// 航次号
/// </summary>
public string voyno { get; set; }
/// <summary>
/// 运输方式
/// </summary>
public string transportMode { get; set; }
/// <summary>
/// 重量
/// </summary>
public Nullable<int> totalCargoWeight { get; set; }
/// <summary>
/// 是否冷冻处理 1-是0-否
/// </summary>
public bool isReefer { get; set; }
/// <summary>
/// 温度探头的数量
/// </summary>
public Nullable<int> noOfProbes { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string tempSet { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string tempId { get; set; }
/// <summary>
/// 通风度
/// </summary>
public Nullable<int> vent { get; set; }
/// <summary>
/// 湿度
/// </summary>
public Nullable<int> humidity { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string cargoId { get; set; }
/// <summary>
/// 货物代码类型
/// </summary>
public string commodityCodeType { get; set; }
/// <summary>
/// 品名代码
/// </summary>
public string goodsCode { get; set; }
/// <summary>
/// 品名
/// </summary>
public string goodsName { get; set; }
/// <summary>
/// 货物类型
/// </summary>
public string cargoType { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public string placeDeliveryId { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string placeDelivery { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
public string portLoadId { get; set; }
/// <summary>
/// 装货港
/// </summary>
public string portLoad { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string portDischargeId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string portDischarge { get; set; }
/// <summary>
/// 航线代码(船公司)
/// </summary>
public string laneCode { get; set; }
/// <summary>
/// 航线名称(船公司)
/// </summary>
public string laneName { get; set; }
/// <summary>
/// 承运方式 DIRECT_SHIP-直达TRANSFER_SHIP-中转
/// </summary>
public string carriageType { get; set; }
/// <summary>
/// 承运方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string carriageTypeName { get; set; }
/// <summary>
/// 订舱方式 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string bookingSlotType { get; set; }
/// <summary>
/// 订舱方式名称 CONTRACT_ORDER-合约订舱SPOT_ORDER-SPOT订舱
/// </summary>
public string bookingSlotTypeName { get; set; }
/// <summary>
/// 签单方式 ORIGINAL-正本TELEX-电放SEAWAY BILL-海运单;
/// </summary>
public string issueType { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
public string ctnStat { get; set; }
/// <summary>
/// 所在周数
/// </summary>
public string weekAt { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string dClass { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string duNo { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string dPage { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string dLabel { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string linkMan { get; set; }
/// <summary>
/// 预计运输天数
/// </summary>
public Nullable<int> transportEstDay { get; set; }
/// <summary>
/// 订舱回执ID
/// </summary>
public string requestAcknowledgementId { get; set; }
/// <summary>
/// 订舱回执预定号
/// </summary>
public string bookingReference { get; set; }
/// <summary>
/// 状态 SUCC-成功FAILURE-失败
/// </summary>
public string status { get; set; }
/// <summary>
/// 状态名称 SUCC-成功FAILURE-失败
/// </summary>
public string statusName { get; set; }
/// <summary>
/// 发送备注
/// </summary>
public string notes { get; set; }
/// <summary>
/// 发送时间
/// </summary>
public Nullable<DateTime> sendTime { get; set; }
/// <summary>
/// 是否定时任务
/// </summary>
public bool isJob { get; set; }
/// <summary>
/// 定时时间
/// </summary>
public Nullable<DateTime> jobTime { get; set; }
/// <summary>
/// 合约号主键
/// </summary>
public Nullable<long> priceReferenceId { get; set; }
/// <summary>
/// 合约号名称
/// </summary>
public string priceReferenceName { get; set; }
/// <summary>
/// 价格所有者合约号
/// </summary>
public string priceOwnerReference { get; set; }
/// <summary>
/// 价格所有者合约号主键
/// </summary>
public string priceOwnerReferenceId { get; set; }
/// <summary>
/// 价格所有者合约号名称
/// </summary>
public string priceOwnerReferenceName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public Nullable<DateTime> UpdatedTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建人名称
/// </summary>
public string CreatedUserName { get; set; }
/// <summary>
/// 修改人ID
/// </summary>
public long UpdatedUserId { get; set; }
/// <summary>
/// 修改人名称
/// </summary>
public string UpdatedUserName { get; set; }
/// <summary>
/// 我希望使用托运人自己的集装箱
/// </summary>
public bool isShipperOwned { get; set; }
/// <summary>
/// 我想使用进口退货集装箱或者其他三角集运选项
/// </summary>
public bool isImportReturned { get; set; }
/// <summary>
/// 是否已有BC
/// </summary>
public bool isRecvBC { get; set; }
/// <summary>
/// 最后BC接收时间
/// </summary>
public bool LstRecvBCDate { get; set; }
/// <summary>
/// 是否已有BookingCancellation
/// </summary>
public bool isRecvBKCancel { get; set; }
/// <summary>
/// 最后BookingCancellation接收时间
/// </summary>
public bool LstRecvBKCancelDate { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public List<BookingDeliveryRecordCtnDto> ctns { get; set; }
}
public class BookingDeliveryRecordCtnDto
{
/// <summary>
/// 箱型
/// </summary>
public string ctnCode { get; set; }
/// <summary>
/// 对应船公司箱型
/// </summary>
public string carrierCtnCode { get; set; }
/// <summary>
/// 箱量
/// </summary>
public Nullable<int> ctnNum { get; set; }
/// <summary>
/// 箱内重量
/// </summary>
public Nullable<decimal> ctnSufferWeight { get; set; }
/// <summary>
/// 集装箱主键
/// </summary>
public Nullable<long> id { get; set; }
/// <summary>
/// 箱计量单位
/// </summary>
public string stuffingMeasurementType { get; set; }
/// <summary>
/// 重量或者体积的计量单位
/// </summary>
public string stuffingMeasurementUnit { get; set; }
}
}