using Newtonsoft.Json; using OfficeOpenXml.Attributes; using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace ARW.Model.System { /// /// 任务日志 /// [SugarTable("sys_tasks_log")] [Tenant("0")] public class SysTasksLog { /// /// 日志Id /// [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] public long JobLogId { get; set; } /// /// 任务Id /// public string JobId { get; set; } public string JobName { get; set; } public string JobGroup { get; set; } /// /// 执行状态(0正常 1失败) /// public string Status { get; set; } /// /// 异常 /// public string Exception { get; set; } /// /// /// public string JobMessage { get; set; } /// /// 调用目标字符串 /// public string InvokeTarget { get; set; } [EpplusTableColumn(NumberFormat = "yyyy-MM-dd HH:mm:ss")] public DateTime CreateTime { get; set; } /// /// 执行用时,毫秒 /// //[SqlSugar.SugarColumn(IsIgnore = true)] public double Elapsed { get; set; } } }