using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity.DbModel.System.SysBaseObject
{
///
/// 系统异常日志表
///
[SugarTable("sys_log_ex")]
public partial class SysLogEx : SysLogVis
{
///
/// 请求方式
///
[SugarColumn(ColumnDescription = "请求方式", Length = 32, ColumnName = "http_method")]
[MaxLength(32)]
public string? HttpMethod { get; set; }
///
/// 请求地址
///
[SugarColumn(ColumnDescription = "请求地址", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnName = "request_url")]
public string? RequestUrl { get; set; }
///
/// 请求参数
///
[SugarColumn(ColumnDescription = "请求参数", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnName = "request_param")]
public string? RequestParam { get; set; }
///
/// 返回结果
///
[SugarColumn(ColumnDescription = "返回结果", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnName = "return_result")]
public string? ReturnResult { get; set; }
///
/// 事件Id
///
[SugarColumn(ColumnDescription = "事件Id", ColumnName = "event_id")]
public int? EventId { get; set; }
///
/// 线程Id
///
[SugarColumn(ColumnDescription = "线程Id", ColumnName = "thread_id")]
public int? ThreadId { get; set; }
///
/// 请求跟踪Id
///
[SugarColumn(ColumnDescription = "请求跟踪Id", Length = 128, ColumnName = "trace_id")]
[MaxLength(128)]
public string? TraceId { get; set; }
///
/// 异常信息
///
[SugarColumn(ColumnDescription = "异常信息", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnName = "exception")]
public string? Exception { get; set; }
///
/// 日志消息Json
///
[SugarColumn(ColumnDescription = "日志消息Json", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnName = "message")]
public string? Message { get; set; }
}
}