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