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; }
///
/// 执行状态 1=正常结束 2=执行过程中发生异常
///
[SugarColumn(ColumnDescription = "执行状态 1=正常结束 2=执行过程中发生异常", Length = 1)]
public int ExecuteStatus { get; set; }
///
/// 异常内容
///
[SugarColumn(ColumnDescription = "异常内容", IsNullable = true, Length = 4000)]
public string? ExceptionMessage { get; set; }
///
/// 执行耗时
///
[SugarColumn(ColumnDescription = "执行耗时")]
public long ElapsedMillisecond { get; set; }
}
}