namespace Admin.NET.Core;
///
/// 系统操作日志表
///
[SugarTable(null, "系统操作日志表")]
[SystemTable]
public class SysLogOp : EntityTenant
{
///
/// 记录器类别名称
///
[SugarColumn(ColumnDescription = "记录器类别名称", Length = 256)]
[MaxLength(256)]
public string? LogName { get; set; }
///
/// 日志级别
///
[SugarColumn(ColumnDescription = "日志级别", Length = 16)]
[MaxLength(16)]
public string? LogLevel { get; set; }
///
/// 事件Id
///
[SugarColumn(ColumnDescription = "事件Id", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? EventId { get; set; }
///
/// 日志消息
///
[SugarColumn(ColumnDescription = "日志消息", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? Message { get; set; }
///
/// 异常对象
///
[SugarColumn(ColumnDescription = "异常对象", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? Exception { get; set; }
///
/// 当前状态值
///
[SugarColumn(ColumnDescription = "当前状态值", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? State { get; set; }
///
/// 日志记录时间
///
[SugarColumn(ColumnDescription = "日志记录时间")]
public DateTime LogDateTime { get; set; }
///
/// 线程Id
///
[SugarColumn(ColumnDescription = "线程Id")]
public int ThreadId { get; set; }
///
/// 请求跟踪Id
///
[SugarColumn(ColumnDescription = "请求跟踪Id", Length = 128)]
[MaxLength(128)]
public string? TraceId { get; set; }
///
/// 是否使用UTC时间戳
///
public bool UseUtcTimestamp { get; set; }
}