using SqlSugar;
using System;
namespace EntrustSettle.Model.Models
{
///
/// 任务日志表
///
public class TasksLog : BaseEntity
{
///
/// 任务ID
///
public long JobId { get; set; }
///
/// 任务耗时
///
public double TotalTime { get; set; }
///
/// 执行结果(0-失败 1-成功)
///
public bool RunResult { get; set; }
///
/// 运行时间
///
public DateTime RunTime { get; set; }
///
/// 结束时间
///
public DateTime EndTime { get; set; }
///
/// 执行参数
///
[SugarColumn(Length = 500, IsNullable = true)]
public string RunPars { get; set; }
///
/// 异常信息
///
[SugarColumn(Length = 500, IsNullable = true)]
public string ErrMessage { get; set; }
///
/// 异常堆栈
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string ErrStackTrace { get; set; }
///
/// 任务名称
///
[SugarColumn(IsIgnore = true)]
public string Name { get; set; }
///
/// 任务分组
///
[SugarColumn(IsIgnore = true)]
public string JobGroup { get; set; }
}
}