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.

1025 lines
28 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.TaskPlat.Dtos
{
/// <summary>
/// 订舱详情
/// </summary>
public class TaskBookingOrderDto
{
/// <summary>
/// 主提单号
/// </summary>
public string MasterBlNo { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string HouseBlNo { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string BookingNo { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string ContrNo { get; set; }
/// <summary>
/// 客户合同号
/// </summary>
public string ServContrNo { get; set; }
/// <summary>
/// 发货人代码
/// </summary>
public string ShipperId { get; set; }
/// <summary>
/// 收货人代码
/// </summary>
public string ConsigneeId { get; set; }
/// <summary>
/// 通知人代码
/// </summary>
public string NotifyPartyId { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string Shipper { get; set; }
/// <summary>
/// 收货人
/// </summary>
public string Consignee { get; set; }
/// <summary>
/// 通知人
/// </summary>
public string NotifyParty { get; set; }
/// <summary>
/// 第二通知人
/// </summary>
public string NotifyPrt2 { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YardId { get; set; }
/// <summary>
/// 场站名称
/// </summary>
public string Yard { get; set; }
/// <summary>
/// 船舶呼号
/// </summary>
public string VesselId { get; set; }
/// <summary>
/// 船名
/// </summary>
public string Vessel { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string Voyno { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string VoynoIn { get; set; }
/// <summary>
/// 开船日期
/// </summary>
/// <example>2022-01-01</example>
public string ETD { get; set; }
/// <summary>
/// 实际开船日期
/// </summary>
/// <example>2022-01-01</example>
public string ATD { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
/// <example>2022-01-01</example>
public string ETA { get; set; }
/// <summary>
/// 截港日期
/// </summary>
/// <example>2022-01-01</example>
public string ClosingDate { get; set; }
/// <summary>
/// 截单日期
/// </summary>
/// <example>2022-01-01</example>
public string CloseDocDate { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
/// <example>2022-01-01</example>
public string CloseVGMDate { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
/// <example>CNTAO</example>
public string PlaceReceiptId { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PlaceReceipt { get; set; }
/// <summary>
/// 起运港代码
/// </summary>
/// <example>CNTAO</example>
public string PortLoadId { get; set; }
/// <summary>
/// 起运港
/// </summary>
public string PortLoad { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
/// <example>USDCB</example>
public string PortDischargeId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string PortDischarge { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
/// <example>USDCB</example>
public string PlaceDeliveryId { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string PlaceDelivery { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
/// <example>USDCB</example>
public string DestinationId { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string Destination { get; set; }
/// <summary>
/// 提单份数
/// </summary>
public string NoBill { get; set; }
/// <summary>
/// 副本提单份数
/// </summary>
public string CopyNoBill { get; set; }
/// <summary>
/// 签单方式 1-Seaway 2-正本 3-电放
/// </summary>
public string IssueType { get; set; }
/// <summary>
/// 签单日期
/// </summary>
/// <example>2022-01-01</example>
public string IssueDate { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
public string IssuePlaceId { get; set; }
/// <summary>
/// 签单地点
/// </summary>
public string IssuePlace { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string Blfrt { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PrepardAt { get; set; }
/// <summary>
/// 到付地点
/// </summary>
public string PayableAt { get; set; }
/// <summary>
/// 运输条款
/// </summary>
public string Service { get; set; }
/// <summary>
/// 唛头
/// </summary>
public string Marks { get; set; }
/// <summary>
/// HS代码
/// </summary>
public string HsCode { get; set; }
/// <summary>
/// 货描
/// </summary>
public string GoodsDescription { get; set; }
/// <summary>
/// 件数
/// </summary>
public Nullable<int> PKGs { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KindPKGs { get; set; }
/// <summary>
/// 毛重
/// </summary>
public Nullable<decimal> KGs { get; set; }
/// <summary>
/// 尺码
/// </summary>
public Nullable<decimal> CBM { get; set; }
/// <summary>
/// 件数大写
/// </summary>
public string TotalNO { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public string CntrTotal { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CarrierId { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string Carrier { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CargoId { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string DClass { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DUnno { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DPage { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DLabel { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string DLinkMan { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TempId { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TempSet { get; set; }
/// <summary>
/// 通风度
/// </summary>
public string Reeferf { get; set; }
/// <summary>
/// 湿度
/// </summary>
public string Humidity { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public string TempMin { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TempMax { get; set; }
/// <summary>
/// 是否SOC箱
/// </summary>
public Nullable<bool> IsContaSOC { get; set; }
/// <summary>
/// SO备注
/// </summary>
public string SORemark { get; set; }
/// <summary>
/// SI备注
/// </summary>
public string SIRemark { get; set; }
/// <summary>
/// 场站备注
/// </summary>
public string YardRemark { get; set; }
/// <summary>
/// 公司ID
/// </summary>
public string CompId { get; set; }
/// <summary>
/// 公司名称
/// </summary>
public string CompName { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string ShipperName { get; set; }
/// <summary>
/// 发货人地址1
/// </summary>
public string ShipperAddr1 { get; set; }
/// <summary>
/// 发货人地址2
/// </summary>
public string ShipperAddr2 { get; set; }
/// <summary>
/// 发货人地址3
/// </summary>
public string ShipperAddr3 { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string ShipperCity { get; set; }
/// <summary>
/// 发货人省份代码
/// </summary>
public string ShipperProvice { get; set; }
/// <summary>
/// 发货人邮编
/// </summary>
public string ShipperPostCode { get; set; }
/// <summary>
/// 发货人国家代码
/// </summary>
public string ShipperCountry { get; set; }
/// <summary>
/// 发货人联系人
/// </summary>
public string ShipperAttn { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string ShipperTel { get; set; }
/// <summary>
/// 收货人名称
/// </summary>
public string ConsigneeName { get; set; }
/// <summary>
/// 收货人地址1
/// </summary>
public string ConsigneeAddr1 { get; set; }
/// <summary>
/// 收货人地址2
/// </summary>
public string ConsigneeAddr2 { get; set; }
/// <summary>
/// 收货人地址3
/// </summary>
public string ConsigneeAddr3 { get; set; }
/// <summary>
/// 收货人城市
/// </summary>
public string ConsigneeCity { get; set; }
/// <summary>
/// 收货人省份代码
/// </summary>
public string ConsigneeProvince { get; set; }
/// <summary>
/// 收货人邮编
/// </summary>
public string ConsigneePostCode { get; set; }
/// <summary>
/// 收货人国家代码
/// </summary>
public string ConsigneeCountry { get; set; }
/// <summary>
/// 收货人联系人
/// </summary>
public string ConsigneeAttn { get; set; }
/// <summary>
/// 收货人电话
/// </summary>
public string ConsigneeTel { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NotifyPartyName { get; set; }
/// <summary>
/// 通知人地址1
/// </summary>
public string NotifyPartyAddr1 { get; set; }
/// <summary>
/// 通知人地址2
/// </summary>
public string NotifyPartyAddr2 { get; set; }
/// <summary>
/// 通知人地址3
/// </summary>
public string NotifyPartyAddr3 { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
public string NotifyPartyCity { get; set; }
/// <summary>
/// 通知人省份代码
/// </summary>
public string NotifyPartyProvince { get; set; }
/// <summary>
/// 通知人邮编
/// </summary>
public string NotifyPartyPostCode { get; set; }
/// <summary>
/// 通知人国家代码
/// </summary>
public string NotifyPartyCountry { get; set; }
/// <summary>
/// 通知人联系人
/// </summary>
public string NotifyPartyAttn { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
public string NotifyPartyTel { get; set; }
/// <summary>
/// PO号
/// </summary>
public string PONo { get; set; }
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证
/// </summary>
public string Doc { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SaleId { get; set; }
/// <summary>
/// 销售
/// </summary>
public string Sale { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CustserviceId { get; set; }
/// <summary>
/// 客服
/// </summary>
public string Custservice { get; set; }
/// <summary>
/// 客户
/// </summary>
public string CustserviceName { get; set; }
/// <summary>
/// 订舱代理
/// </summary>
public string Forwarder { get; set; }
/// <summary>
/// 船代
/// </summary>
public string ShipAgency { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string CustomsER { get; set; }
/// <summary>
/// 车队
/// </summary>
public string TruckER { get; set; }
/// <summary>
/// 国外代理
/// </summary>
public string AgentId { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public Nullable<long> CustomerId { get; set; }
/// <summary>
/// 订舱代理ID
/// </summary>
public string ForwarderId { get; set; }
/// <summary>
/// 船代ID
/// </summary>
public string ShipAgencyId { get; set; }
/// <summary>
/// 报关行ID
/// </summary>
public string CustomsERId { get; set; }
/// <summary>
/// 车队ID
/// </summary>
public string TruckERId { get; set; }
/// <summary>
/// 国外代理名称
/// </summary>
public string AgentName { get; set; }
/// <summary>
/// 委托方
/// </summary>
public string WeiTo { get; set; }
/// <summary>
/// 收货人DOOR地址
/// </summary>
public string ConsigneeDoorAddr { get; set; }
/// <summary>
/// 发货人DOOR地址
/// </summary>
public string ShipperDoorAddr { get; set; }
/// <summary>
/// SCAC代码
/// </summary>
public string SCACCode { get; set; }
/// <summary>
/// ITN编号
/// </summary>
public string ITNCode { get; set; }
/// <summary>
/// 预付地点ID
/// </summary>
public string PrePardAtId { get; set; }
/// <summary>
/// 到付地点ID
/// </summary>
public string PayableAtId { get; set; }
/// <summary>
/// 客户系统编号
/// </summary>
public string CustNo { get; set; }
/// <summary>
/// 中转港代码
/// </summary>
/// <example></example>
public string TransportId { get; set; }
/// <summary>
/// 中转港
/// </summary>
public string Transport { get; set; }
/// <summary>
/// 第三付款地
/// </summary>
public string ThirdPayAddr { get; set; }
/// <summary>
/// 场站联系人电话
/// </summary>
public string YardContractTel { get; set; }
/// <summary>
/// 场站联系人邮箱
/// </summary>
public string YardContractEmail { get; set; }
/// <summary>
/// 费用自结
/// </summary>
public Nullable<bool> FeeSelf { get; set; }
/// <summary>
/// 航线代码
/// </summary>
public string LaneCode { get; set; }
/// <summary>
/// 航线名称
/// </summary>
public string LaneName { get; set; }
/// <summary>
/// 付款方
/// </summary>
public string FreightPayer { get; set; }
/// <summary>
/// 发货人税号
/// </summary>
public string ShipperTaxNo { get; set; }
/// <summary>
/// 收货人税号
/// </summary>
public string ConsigneeTaxNo { get; set; }
/// <summary>
/// 通知人税号
/// </summary>
public string NotifyPartyTaxNo { get; set; }
/// <summary>
/// 是否船开后变更签单方式 1-是 0-否
/// </summary>
public Nullable<bool> IsATDChangeIssueType { get; set; }
/// <summary>
/// 是否条形中英文章
/// </summary>
public Nullable<bool> IsEngChinaLineBar { get; set; }
/// <summary>
/// 是否双Shipper
/// </summary>
public Nullable<bool> IsDoubleShipper { get; set; }
/// <summary>
/// 是否整箱和拼箱混合
/// </summary>
public Nullable<bool> IsFCLAndLCLMix { get; set; }
/// <summary>
/// 是否多品名
/// </summary>
public Nullable<bool> IsMutipleGoods { get; set; }
/// <summary>
/// 是否拼箱
/// </summary>
public Nullable<bool> IsContaLCL { get; set; }
/// <summary>
/// 卸货港国家代码
/// </summary>
public string PortDischargeCountryNo { get; set; }
/// <summary>
/// 卸货港国家英文
/// </summary>
public string PortDischargeEN { get; set; }
/// <summary>
/// 卸货港国家中文
/// </summary>
public string PortDischargeCN { get; set; }
/// <summary>
/// 中转港国家代码
/// </summary>
public string TransportCountryNo { get; set; }
/// <summary>
/// 中转港国家英文
/// </summary>
public string TransportEN { get; set; }
/// <summary>
/// 中转港国家中文
/// </summary>
public string TransportCN { get; set; }
/// <summary>
/// 箱信息
/// </summary>
public List<TaskBookingOrderContaDto> ContaList { get; set; }
/// <summary>
/// 任务详情
/// </summary>
public TaskBaseInfoDto TaskBaseInfo { get; set; }
}
public class TaskBookingOrderContaDto
{
/// <summary>
/// 箱型代码
/// </summary>
public string ContaType { get; set; }
/// <summary>
/// 箱型
/// </summary>
public string ContaTypeName { get; set; }
/// <summary>
/// TEU
/// </summary>
public Nullable<int> TEU { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string ContaNo { get; set; }
/// <summary>
/// 封号
/// </summary>
public string SealNo { get; set; }
/// <summary>
/// 件数
/// </summary>
public Nullable<int> PKGs { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KindPKGs { get; set; }
/// <summary>
/// 毛重
/// </summary>
public Nullable<decimal> KGs { get; set; }
/// <summary>
/// 尺码
/// </summary>
public Nullable<decimal> CBM { get; set; }
/// <summary>
/// 皮重
/// </summary>
public Nullable<decimal> TareWeight { get; set; }
/// <summary>
/// 箱状态
/// </summary>
public string ContaStatus { get; set; }
/// <summary>
/// 称重方式
/// </summary>
public string WeighType { get; set; }
/// <summary>
/// 称重重量
/// </summary>
public Nullable<decimal> WeighKGs { get; set; }
/// <summary>
/// 称重联系人
/// </summary>
public string WeighAttn { get; set; }
/// <summary>
/// VGM联系公司
/// </summary>
public string VGMConnCom { get; set; }
/// <summary>
/// VGM联系电话
/// </summary>
public string WeighTel { get; set; }
/// <summary>
/// 称重日期
/// </summary>
public string WeighDate { get; set; }
/// <summary>
/// VGM地址
/// </summary>
public string VGMAddr { get; set; }
/// <summary>
/// VGM邮箱
/// </summary>
public string VGMEmail { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 大小箱分类small-小箱 big-大箱)
/// </summary>
public string ContaCategory { get; set; }
/// <summary>
/// 货物明细
/// </summary>
public List<TaskBookingOrderCargoDto> CargoList { get; set; }
}
/// <summary>
/// 任务
/// </summary>
public class TaskBaseInfoDto
{
/// <summary>
/// 主键
/// </summary>
public string PKId { get; set; }
/// <summary>
/// 任务流水号
/// </summary>
public string TaskNo { get; set; }
/// <summary>
/// 任务类型
/// </summary>
public string TaskType { get; set; }
/// <summary>
/// 任务来源
/// </summary>
public string TaskSource { get; set; }
/// <summary>
/// 状态 Create-待处理Retransmit-已转发Complete-已完成Cancel-已取消Pending-已挂起
/// </summary>
public string Status { get; set; }
/// <summary>
/// 状态名称 Create-待处理Retransmit-已转发Complete-已完成Cancel-已取消Pending-已挂起
/// </summary>
public string StatusName { get; set; }
/// <summary>
/// 任务标题
/// </summary>
public string TaskTitle { get; set; }
/// <summary>
/// 任务描述
/// </summary>
public string TaskDesp { get; set; }
/// <summary>
/// 外业务编号
/// </summary>
public string OutBusiNo { get; set; }
/// <summary>
/// 外业务类型 BOOK_ORDER-订舱 MAIL_RECV-邮件接收
/// </summary>
public string OutBusiType { get; set; }
/// <summary>
/// 基础业务类型
/// </summary>
public string TaskBaseType { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CarrierId { get; set; }
/// <summary>
/// 主单号
/// </summary>
public string MblNo { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 是否异常 1-异常 0-未异常
/// </summary>
public int IsExcept { get; set; }
/// <summary>
/// 是否公共 0-非公共 1-公共(当无法确认任务所属人的情况被默认为公共)
/// </summary>
public int IsPublic { get; set; }
/// <summary>
/// 是否完成 1-已完成 0-未完成
/// </summary>
public int IsComplete { get; set; }
/// <summary>
/// 任务启动时间
/// </summary>
public string BeginDate { get; set; }
/// <summary>
/// 任务完成时间
/// </summary>
public string CompleteDate { get; set; }
/// <summary>
/// 订舱业务主键
/// </summary>
public string BookOrderNo { get; set; }
/// <summary>
/// 反馈结果
/// </summary>
public string ResultNote { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public string ETD { 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>
/// 租户id
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
/// <summary>
/// 任务完成方式 MANUAL-手工
/// </summary>
public string ComplateDeal { get; set; }
/// <summary>
/// 任务完成方式名称 MANUAL-手工
/// </summary>
public string ComplateDealName { get; set; }
/// <summary>
/// 签单方式(来自订舱)
/// </summary>
public string IssueType { get; set; }
/// <summary>
/// 签单方式名称(来自订舱)
/// </summary>
public string IssueTypeName { get; set; }
/// <summary>
/// 操作ID
/// </summary>
public long TaskReqUserId { get; set; }
/// <summary>
/// 操作名称
/// </summary>
public string TaskReqUserName { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
public string ContaInfo { get; set; }
/// <summary>
/// 船名航次
/// </summary>
public string VesselVoyno { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YardName { get; set; }
/// <summary>
/// 车队
/// </summary>
public string TruckName { get; set; }
/// <summary>
/// 委托单位
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// 要求到达时间
/// </summary>
public Nullable<DateTime> NeedArriveTime { get; set; }
}
public class TaskBookingOrderCargoDto
{
/// <summary>
/// 件数
/// </summary>
public Nullable<int> PKGs { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KindPKGs { get; set; }
/// <summary>
/// 毛重
/// </summary>
public Nullable<decimal> KGs { get; set; }
/// <summary>
/// 尺码
/// </summary>
public Nullable<decimal> CBM { get; set; }
/// <summary>
/// HS编码
/// </summary>
public string HSCode { get; set; }
/// <summary>
/// 唛头
/// </summary>
public string Marks { get; set; }
/// <summary>
/// 货描
/// </summary>
public string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
}
}