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.

82 lines
2.7 KiB
C#

4 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_detail", "任务编排执行日志表")]
public class TaskFlowLogDetail : BaseModelV2<long>
{
/// <summary>
/// 父主键
/// </summary>
[SugarColumn(ColumnDescription = "父主键", IsNullable = false)]
public long PId { get; set; }
/// <summary>
/// 执行流程主键
/// </summary>
[SugarColumn(ColumnDescription = "执行流程主键")]
public long ConfigId { get; set; }
/// <summary>
/// 执行模块主键
/// </summary>
[SugarColumn(ColumnDescription = "执行模块主键")]
public long ModuleId { get; set; }
/// <summary>
/// 执行模块名称
/// </summary>
[SugarColumn(ColumnDescription = "执行模块名称", IsNullable = true, Length = 255)]
public string? ModuleName { get; set; }
4 months ago
/// <summary>
/// 原始数据内容
4 months ago
/// </summary>
[SugarColumn(ColumnDescription = "原始数据内容", IsNullable = true, Length = 255)]
public string? OriginDataContext { get; set; }
4 months ago
///// <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>
/// 模块是否全部执行成功
/// </summary>
[SugarColumn(ColumnDescription = "模块是否全部执行成功", IsNullable = false)]
public bool IsSuccess { get; set; }
4 months ago
/// <summary>
/// 异常内容
/// </summary>
[SugarColumn(ColumnDescription = "异常内容", IsNullable = true, ColumnDataType = "text")]
4 months ago
public string? ExceptionMessage { get; set; }
/// <summary>
/// 执行返回结果
/// </summary>
[SugarColumn(ColumnDescription = "执行返回结果", IsNullable = true, ColumnDataType = "text")]
public string? ExecuteReturn { get; set; }
4 months ago
/// <summary>
/// 执行耗时
/// </summary>
[SugarColumn(ColumnDescription = "执行耗时", IsNullable = false)]
public long ElapsedMillisecond { get; set; }
4 months ago
}
}