using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskPlat.Entity { /// /// 任务编排执行日志表 /// [SugarTable("task_flow_log", "任务编排执行日志表")] public class TaskFlowLog : BaseModelV2 { /// /// 任务主键 /// [SugarColumn(ColumnDescription = "任务主键", IsNullable = false)] public long? TaskId { get; set; } /// /// 所属任务类型 /// [SugarColumn(ColumnDescription = "所属任务类型", IsNullable = false, Length = 255)] public string? TaskType { get; set; } /// /// 是否匹配到主入口流程 /// [SugarColumn(ColumnDescription = "是否匹配到主入口流程", IsNullable = false, Length = 1)] public bool IsMatch { get; set; } /// /// 匹配到的主入口流程的主键 /// [SugarColumn(ColumnDescription = "匹配到的主入口流程的主键", IsNullable = true)] public long? MatchMainConfigId { get; set; } /// /// 待执行流程清单 /// [SugarColumn(ColumnDescription = "待执行流程清单", IsNullable = true, Length = 4000)] public string? ConfigList { get; set; } /// /// 待执行模块清单 /// [SugarColumn(ColumnDescription = "待执行模块清单", IsNullable = true, Length = 4000)] public string? ModuleList { get; set; } /// /// 原始数据内容 /// [SugarColumn(ColumnDescription = "原始数据内容", IsNullable = true)] public string? OriginDataContext { get; set; } ///// ///// 执行状态 1=正常结束 2=执行过程中发生异常 ///// //[SugarColumn(ColumnDescription = "执行状态 1=正常结束 2=执行过程中发生异常", IsNullable = false)] //public int ExecuteStatus { get; set; } /// /// 模块是否全部执行完成 /// [SugarColumn(ColumnDescription = "模块是否全部执行完成", IsNullable = false)] public bool IsComplete { get; set; } /// /// 模块是否全部执行成功 /// [SugarColumn(ColumnDescription = "模块是否全部执行成功", IsNullable = false)] public bool IsSuccess { get; set; } /// /// 异常内容 /// [SugarColumn(ColumnDescription = "异常内容", IsNullable = true, ColumnDataType = "text")] public string? ExceptionMessage { get; set; } } }