using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskPlat.Entity { /// /// 任务编排执行日志表 /// [SugarTable("task_flow_log_detail", "任务编排执行日志表")] public class TaskFlowLogDetail : BaseModelV2 { /// /// 父主键 /// [SugarColumn(ColumnDescription = "父主键", IsNullable = false)] public long PId { get; set; } /// /// 执行流程主键 /// [SugarColumn(ColumnDescription = "执行流程主键")] public long ConfigId { get; set; } /// /// 执行模块主键 /// [SugarColumn(ColumnDescription = "执行模块主键")] public long ModuleId { get; set; } /// /// 执行模块名称 /// [SugarColumn(ColumnDescription = "执行模块名称", IsNullable = true, Length = 255)] public string? ModuleName { get; set; } /// /// 原始数据内容 /// [SugarColumn(ColumnDescription = "原始数据内容", IsNullable = true, Length = 255)] 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; } /// /// 执行返回结果 /// [SugarColumn(ColumnDescription = "执行返回结果", IsNullable = true, ColumnDataType = "text")] public string? ExecuteReturn { get; set; } /// /// 执行耗时 /// [SugarColumn(ColumnDescription = "执行耗时", IsNullable = false)] public long ElapsedMillisecond { get; set; } } }