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.
65 lines
1.9 KiB
65 lines
1.9 KiB
5 days ago
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 系统异常日志表
|
||
|
/// </summary>
|
||
|
[SugarTable(null, "系统异常日志表")]
|
||
|
[SystemTable]
|
||
|
public class SysLogEx : SysLogVis
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 请求方式
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "请求方式", Length = 32)]
|
||
|
[MaxLength(32)]
|
||
|
public string? HttpMethod { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 请求地址
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "请求地址", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||
|
public string? RequestUrl { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 请求参数
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "请求参数", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||
|
public string? RequestParam { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 返回结果
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "返回结果", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||
|
public string? ReturnResult { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 事件Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "事件Id")]
|
||
|
public int? EventId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 线程Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "线程Id")]
|
||
|
public int? ThreadId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 请求跟踪Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "请求跟踪Id", Length = 128)]
|
||
|
[MaxLength(128)]
|
||
|
public string? TraceId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 异常信息
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "异常信息", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||
|
public string? Exception { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 日志消息Json
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "日志消息Json", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||
|
public string? Message { get; set; }
|
||
|
}
|