using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wood.Entity.SystemManage { /// /// 事件执行记录 /// [SugarTable("SysLogEvent", "事件执行记录")] public class LogEventEntity : EntityCreateBase { /// /// 事件名 /// [SugarColumn(ColumnDescription = "事件名", Length = 32)] public string EventName { get; set; } = ""; /// /// 事件id /// [SugarColumn(ColumnDescription = "事件id", Length = 32)] public string EventId { get; set; } = ""; /// /// 发布时间 /// [SugarColumn(ColumnDescription = "发布时间", IsNullable = true)] public DateTime? PublishDateTime { get; set; } /// /// 发布内容 /// [SugarColumn(ColumnDescription = "发布内容", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string? PublishContent { get; set; } /// /// 状态 /// [SugarColumn(ColumnDescription = "状态", IsNullable = true, Length = 16)] public string? Status { get; set; } /// /// 执行时间 /// [SugarColumn(ColumnDescription = "执行时间")] public long Elapsed { get; set; } = 0; /// /// 重试次数 /// [SugarColumn(ColumnDescription = "重试次数")] public int RetryCount { get; set; } = 0; /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", Length = 2048, IsNullable = true)] public string? Remark { get; set; } } }