using DS.Module.Core;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace DS.WMS.Core.TaskPlat.Dtos
{
///
///
///
public class TaskManageOrderMessageMainInfo
{
///
/// 任务类型
///
public TaskBaseTypeEnum TaskType { get; set; }
///
/// 子任务类型
///
public TaskBaseTypeEnum ChildTaskType { get; set; }
///
/// 校验任务重复时是否判断任务类型
///
public bool IsCheckExistsByTaskType { get; set; }
///
/// 任务来源
///
public TaskSourceEnum TaskSource { get; set; }
///
/// 船公司代号(列如:MSK)(邮件解析通过此参数传入船公司Id)
///
public string? CarrierId { get; set; }
///
/// 船公司主键(列如:1802321321421232132)
///
public long? CarrierPK { get; set; }
///
/// 船公司名称(列如:马士基)
///
public string? CarrierName { get; set; }
///
/// 任务标题
///
[MaxLength(150), Required(ErrorMessage = "必填")]
public string TaskTitle { get; set; }
///
/// 任务描述
///
[MaxLength(200), Required(ErrorMessage = "必填")]
public string TaskDesp { get; set; }
///
/// 订舱业务主键(非必填,推送任务的系统可以明确当票对应的订舱主键需要填入)
///
public string BookingOrderNo { get; set; }
///
/// 主单号
///
public string? MBlNo { get; set; }
///
/// 委托编号
///
public string? CustomerNo { get; set; }
///
/// 反馈结果
///
public string ResultNote { get; set; }
///
/// 是否异常 1-异常 0-未异常
///
public int IsException { get; set; } = 0;
///
/// 任务对应操作人ID(任务制单人)
///
public string TaskUserId { get; set; }
///
/// 任务对应操作人名称(任务制单人)
///
public string TaskUserName { get; set; }
///
/// 任务对应接收操作人ID(任务接收人)
///
public string RecvUserId { get; set; }
///
/// 任务对应接收操作人名称(任务接收人)
///
public string RecvUserName { get; set; }
///
/// 任务接收人列表
///
public List RecvUserInfoList { get; set; }
///
/// 任务对应接收操作人ID(大简云账户体系)
///
public string DJYRecvUserId { get; set; }
///
/// 任务对应接收操作人名称(大简云账户体系)
///
public string DJYRecvUserName { get; set; }
///
/// 任务对应接收操作人邮箱(大简云账户体系)
///
public string DJYRecvUserEmail { get; set; }
///
/// 任务对应部门代码(大简云账户体系)
///
public string DJYTaskOrgCode { get; set; }
///
/// 任务对应部门名称(大简云账户体系)
///
public string DJYTaskOrgName { get; set; }
///
/// 任务对应部门代码
///
public string TaskOrgCode { get; set; }
///
/// 任务对应部门名称
///
public string TaskOrgName { get; set; }
///
/// 任务对应租户ID
///
public Nullable TaskTenatId { get; set; }
///
/// 任务对应租户名称
///
public string TaskTenatName { get; set; }
///
/// 任务对应接收邮箱
///
public string TaskRecvEmail { get; set; }
///
/// 开船日期
///
public Nullable ETD { get; set; }
///
/// 箱型箱量
///
public string ContaInfo { get; set; }
///
/// 船名航次
///
public string VesselVoyno { get; set; }
///
/// 场站
///
public string YardName { get; set; }
///
/// 委托单位ID
///
public Nullable CustomerId { get; set; }
///
/// 委托单位
///
public string CustomerName { get; set; }
///
/// 批次统计
///
public string BatchStatic { get; set; }
///
/// 平台代码
///
public string SYSTEM_CODE { get; set; }
///
/// 平台名称
///
public string SYSTEM_NAME { get; set; }
///
/// 文件路径 若文件File为空则取此字段文件路径,防止文件被多次存储
///
public string FilePath { get; set; }
///
/// 变更文件内容后的文件 若文件modifyFile为空则取此字段文件路径,防止文件被多次存储
///
public string ModifyFile { get; set; }
///
/// 费用明细(当业务类型是INVOICE_BILL_MAIL-航次账单
///
public List FeeList { get; set; }
///
/// 装船通知(SI)详情(当业务类型是SI_FEEDBACK时,需要填写装船通知详情)
///
public TaskManageOrderSIFeedBackInfo SIFeedBack { get; set; }
///
/// 装船通知与提单草单内容对比列表(当业务类型是DRAFT时)
///
public List SIDraftCompareList { get; set; }
///
/// 附件列表
///
public List FileList { get; set; }
///
/// 邮件列表
///
public List EmailList { get; set; }
///
/// 单票账单
///
public TaskManageOrderPerBillInfo PerBillInfo { get; set; }
///
/// 序列化报文详情
///
public TaskManageOrderExtMessageInfo SerialMsgInfo { get; set; }
///
/// 派车信息
///
public TaskManageOrderTruckInfo TruckInfo { get; set; }
///
/// BC信息
///
public TaskManageOrderBCInfo BCInfo { get; set; }
///
/// 预甩货通知
///
public TaskRollingNominationDto RollingNomination { get; set; }
///
/// 截止时间变更通知
///
public TaskCutDateChangeDto CutDateChange { get; set; }
///
/// VGM回执
///
public List VGMFeedBack { get; set; }
///
/// 目的港未提货未返箱
///
public TaskManageOrderPODDischargeGateoutFull PODDischargeGateoutFull { get; set; }
///
/// 格式单
///
public TaskManageOrderDraftInfo DraftInfo { get; set; }
///
/// 重要通知
///
public TaskManageOrderCautionNoticeInfo CautionNoticeInfo { get; set; }
///
/// 船舶相关截止时间的通知
///
public TaskManageOrderRouteChangeAdvisoryInfo RouteChangeAdvisoryInfo { get; set; }
///
/// 货物运输计划已变更
///
public TaskManageOrderTransportPlanHasChangeInfo TransportPlanHasChangeInfo { get; set; }
///
/// 装货港未提箱通知
///
public TaskManageOrderPOLContainerNotPickupInfo POLContainerNotPickupInfo { get; set; }
///
/// 截止时间变更(华南港口)
///
public TaskManageOrderForInformCutOffDetailInfo ForInformCutOffDetailInfo { get; set; }
///
/// CMA BC的解析
///
public List parse_attachment { get; set; }
/////
///// 单票账单的解析
/////
//public perbill perbillInfo { get; set; }
///
/// 任务批次号
///
public string TaskBatchNo { get; set; }
/////
///// 客户编号
/////
//public string? CustomsNum { get; set; }
/////
///// 分提单号
/////
//public string? HBLNO { get; set; }
/////
///// 订舱编号
/////
//public string? BookingNo { get; set; }
///
/// 装货港主键
///
public long? PortLoadId { get; set; }
///
/// 装货港代码
///
public string? PortLoadCode { get; set; }
///
/// 装货港
///
public string? PortLoad { get; set; }
///
/// 卸货港主键
///
public long? PortDischargeId { get; set; }
///
/// 卸货港代码
///
public string? PortDischargeCode { get; set; }
///
/// 卸货港
///
public string? PortDischarge { get; set; }
///
/// 拓展数据
///
public object? ExtData { get; set; }
}
}