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.
64 lines
1.6 KiB
64 lines
1.6 KiB
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Wood.Entity.SystemManage
|
|
{
|
|
/// <summary>
|
|
/// 事件执行记录
|
|
/// </summary>
|
|
[SugarTable("SysLogEvent", "事件执行记录")]
|
|
public class LogEventEntity : EntityCreateBase
|
|
{
|
|
/// <summary>
|
|
/// 事件名
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "事件名", Length = 32)]
|
|
public string EventName { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 事件id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "事件id", Length = 32)]
|
|
public string EventId { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 发布时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "发布时间", IsNullable = true)]
|
|
public DateTime? PublishDateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发布内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "发布内容", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
|
|
public string? PublishContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态", IsNullable = true, Length = 16)]
|
|
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 = 2048, IsNullable = true)]
|
|
public string? Remark { get; set; }
|
|
}
|
|
}
|
|
|