You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

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