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.

315 lines
9.1 KiB
C#

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