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.

80 lines
2.8 KiB
C#

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