|
|
using DS.Module.Core;
|
|
|
using DS.Module.Core.Data;
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Entity
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 任务主表
|
|
|
///</summary>
|
|
|
[SugarTable("task_base", "任务主表")]
|
|
|
public class TaskBaseInfo : BaseModelV2<long>
|
|
|
{
|
|
|
///// <summary>
|
|
|
///// 机构Id
|
|
|
///// </summary>
|
|
|
//[SqlSugar.SugarColumn(ColumnDescription = "机构Id", DefaultValue = "0", IsNullable = true)]
|
|
|
//public new long OrgId { get; set; } = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务流水号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务流水号", IsNullable = false, Length = 64)]
|
|
|
public string TASK_NO { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务类型编码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务类型编码", IsNullable = false, Length = 40)]
|
|
|
public string TASK_TYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务类型名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务类型名称", IsNullable = true, Length = 255)]
|
|
|
public string? TASK_TYPE_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务来源
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务来源", IsNullable = true, Length = 64)]
|
|
|
public string? TASK_SOURCE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务来源名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务来源名称", IsNullable = true, Length = 64)]
|
|
|
public string? TASK_SOURCE_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 状态 Create-待处理;Retransmit-已转发;Complete-已完成;Cancel-已取消;Pending-已挂起
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "状态 Create-待处理;Retransmit-已转发;Complete-已完成;Cancel-已取消;Pending-已挂起", IsNullable = false, Length = 20)]
|
|
|
public string STATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 状态名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "状态名称", IsNullable = true, Length = 50)]
|
|
|
public string? STATUS_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务标题
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务标题", IsNullable = true, Length = 150)]
|
|
|
public string? TASK_TITLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务描述
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务描述", IsNullable = true, Length = 200)]
|
|
|
public string? TASK_DESP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 外业务编号,用以记录
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "外业务编号,用以记录", IsNullable = true, Length = 120)]
|
|
|
public string? OUT_BUSI_NO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 外业务类型 BOOK_ORDER-订舱 MAIL_RECV-邮件接收
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "外业务类型 BOOK_ORDER-订舱 MAIL_RECV-邮件接收", IsNullable = true, Length = 40)]
|
|
|
public string? OUT_BUSI_TYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 外业务主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "外业务主键", IsNullable = true)]
|
|
|
public long? OUT_BS_NO { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 基础业务类型
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "基础业务类型", IsNullable = true, Length = 40)]
|
|
|
//public string? TASK_BASE_TYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船公司Id
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "船公司Id", IsNullable = true)]
|
|
|
public long? CARRIER_ID { get; set; }
|
|
|
/// <summary>
|
|
|
/// 船公司编码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "船公司编码", IsNullable = true, Length = 20)]
|
|
|
public string? CARRIER_CODE { get; set; }
|
|
|
/// <summary>
|
|
|
/// 船公司名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "船公司名称", IsNullable = true, Length = 20)]
|
|
|
public string? CARRIER_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 主单号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "主单号", IsNullable = true, Length = 64)]
|
|
|
public string? MBL_NO { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 分单号
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "分单号", IsNullable = true, Length = 30)]
|
|
|
//public string? HBL_NO { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 订舱编号
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "订舱编号", IsNullable = true, Length = 20)]
|
|
|
//public string? BOOKING_NO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 委托编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "委托编号", IsNullable = true, Length = 30)]
|
|
|
public string? CUSTOMER_NO { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 客户编号
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "客户编号", IsNullable = true, Length = 50)]
|
|
|
//public string? CUSTOMER_NUM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 500)]
|
|
|
public string? REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否异常 1-异常 0-未异常
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "是否异常 1-异常 0-未异常", IsNullable = false)]
|
|
|
public int IS_EXCEPT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否公共 0-非公共 1-公共(当无法确认任务所属人的情况被默认为公共)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "是否公共 0-非公共 1-公共(当无法确认任务所属人的情况被默认为公共)", IsNullable = false)]
|
|
|
public int IS_PUBLIC { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否完成 1-已完成 0-未完成
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "是否完成 1-已完成 0-未完成", IsNullable = false)]
|
|
|
public int IS_COMPLETE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务启动时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务启动时间", IsNullable = true)]
|
|
|
public DateTime? BEGIN_DATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务完成时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务完成时间", IsNullable = true)]
|
|
|
public DateTime? COMPLETE_DATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱业务主键
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "订舱业务主键", IsNullable = true, Length = 64)]
|
|
|
public string? BOOK_ORDER_NO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 反馈结果
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "反馈结果", IsNullable = true, Length = 1000)]
|
|
|
public string? RESULT_NOTE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 开船日期
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "开船日期", IsNullable = true)]
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务完成方式 MANUAL-手工
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务完成方式 MANUAL-手工", IsNullable = true, Length = 20)]
|
|
|
public string? COMPLETE_DEAL { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务完成方式名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务完成方式名称", IsNullable = true, Length = 64)]
|
|
|
public string? COMPLETE_DEAL_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签单方式(来自订舱)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "签单方式(来自订舱)", IsNullable = true, Length = 20)]
|
|
|
public string? ISSUE_TYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 签单方式名称(来自订舱)
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "签单方式名称(来自订舱)", IsNullable = true, Length = 50)]
|
|
|
public string? ISSUE_TYPE_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发送方代码
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "发送方代码", IsNullable = true, Length = 50)]
|
|
|
public string? SENDER_CODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发送方名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "发送方名称", IsNullable = true, Length = 150)]
|
|
|
public string? SENDER_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务请求人ID
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务请求人ID", IsNullable = true)]
|
|
|
public long? TASK_REQ_USERID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务请求人名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "任务请求人名称", IsNullable = true, Length = 50)]
|
|
|
public string? TASK_REQ_USERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱型箱量
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "箱型箱量", IsNullable = true, Length = 255)]
|
|
|
public string? CONTA_INFO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船名航次
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "船名航次", IsNullable = true, Length = 150)]
|
|
|
public string? VESSEL_VOYNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场站
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "场站", IsNullable = true, Length = 150)]
|
|
|
public string? YARD_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 车队名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "车队名称", IsNullable = true, Length = 100)]
|
|
|
public string? TRUCK_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 委托客户ID
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "委托客户ID", IsNullable = true)]
|
|
|
public long? CUSTOMER_ID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 委托客户名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "委托客户名称", IsNullable = true, Length = 150)]
|
|
|
public string? CUSTOMER_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 要求到达时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "要求到达时间", IsNullable = true)]
|
|
|
public DateTime? NeedArriveTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 实际操作人ID
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "实际操作人ID", IsNullable = true)]
|
|
|
public long? RealUserId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 实际操作人名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "实际操作人名称", IsNullable = true, Length = 50)]
|
|
|
public string? RealUserName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 批次统计
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "批次统计", IsNullable = true, Length = 50)]
|
|
|
public string? BATCH_STATIC { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 拓展数据
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "拓展数据", IsNullable = true, Length = 255, ColumnDataType = "varchar")]
|
|
|
public object? ExtData { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 大简云userid
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "大简云userid", IsNullable = true, Length = 50)]
|
|
|
//public string? DJYUserId { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 装货港主键
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "装货港主键", IsNullable = true)]
|
|
|
//public long? PORTLOAD_ID { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 装货港代码
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "装货港代码", IsNullable = true, Length = 10)]
|
|
|
//public string? PORTLOAD_CODE { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 装货港
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "装货港", IsNullable = true, Length = 120)]
|
|
|
//public string? PORTLOAD { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 卸货港主键
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "卸货港主键", IsNullable = true)]
|
|
|
//public long? PORTDISCHARGE_ID { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 卸货港代码
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "卸货港代码", IsNullable = true, Length = 10)]
|
|
|
//public string? PORTDISCHARGE_CODE { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 卸货港
|
|
|
///// </summary>
|
|
|
//[SugarColumn(ColumnDescription = "卸货港", IsNullable = true, Length = 120)]
|
|
|
//public string? PORTDISCHARGE { get; set; }
|
|
|
}
|
|
|
|
|
|
} |