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