You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.2 KiB
C#

using System.ComponentModel;
using SqlSugar;
namespace DS.Module.Core.Log;
/// <summary>
/// 异常访问日志
/// </summary>
[global::SqlSugar.SugarTable("sys_log_exception")]
public class SysLogException
{
/// <summary>
/// ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 类名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 方法名称
/// </summary>
public string MethodName { get; set; }
/// <summary>
/// 异常名称
/// </summary>
[SugarColumn(ColumnDescription = "异常信息", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string ExceptionName { get; set; }
/// <summary>
/// 异常信息
/// </summary>
[SugarColumn(ColumnDescription = "异常信息", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string ExceptionMsg { get; set; }
/// <summary>
/// 异常源
/// </summary>
[SugarColumn(ColumnDescription = "异常源", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string ExceptionSource { get; set; }
/// <summary>
/// 堆栈信息
/// </summary>
[SugarColumn(ColumnDescription = "堆栈信息", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string StackTrace { get; set; }
/// <summary>
/// 参数对象
/// </summary>
[SugarColumn(ColumnDescription = "参数对象", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string ParamsObj { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
[SqlSugar.SugarColumn(IsOnlyIgnoreUpdate = true, ColumnDescription = "创建时间")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
[SqlSugar.SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, ColumnDescription = "创建人")]
9 months ago
public long CreateBy { get; set; }
/// <summary>
/// 租户id
/// </summary>
public long? TenantId { get; set; }
}