using SqlSugar;
namespace Wood.Entity.SystemManage
{
///
/// JOB操作日志
///
[SugarTable("SysLogJob", "JOB操作日志")]
public class LogJobEntity : EntityCreateBase
{
///
/// 触发器Id
///
[SugarColumn(ColumnDescription = "触发器Id", Length = 64)]
public string TriggerId { get; set; } = "";
///
/// 作业Id
///
[SugarColumn(ColumnDescription = "作业Id", Length = 64)]
public string JobId { get; set; } = "";
///
/// 运行时间
///
[SugarColumn(ColumnDescription = "运行时间", IsNullable = true)]
public DateTime? RunTime { get; set; }
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态", IsNullable = true)]
public string? Status { get; set; }
///
/// 执行时间
///
[SugarColumn(ColumnDescription = "执行时间")]
public long Elapsed { get; set; } = 0;
///
/// 重试次数
///
[SugarColumn(ColumnDescription = "重试次数")]
public int RetryCount { get; set; } = 0;
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 256, IsNullable = true)]
public string? Remark { get; set; }
}
}