using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Admin.NET.Core { /// /// 异常日志 /// [Table("sys_log_ex")] [Comment("异常日志表")] public class SysLogEx : EntityBase { /// /// 操作人 /// [Comment("操作人")] [MaxLength(50)] public string Account { get; set; } /// /// 名称 /// [Comment("名称")] [MaxLength(100)] public string Name { get; set; } /// /// 类名 /// [Comment("类名")] [MaxLength(100)] public string ClassName { get; set; } /// /// 方法名 /// [Comment("方法名")] [MaxLength(100)] public string MethodName { get; set; } /// /// 异常名称 /// [Comment("异常名称")] public string ExceptionName { get; set; } /// /// 异常信息 /// [Comment("异常信息")] public string ExceptionMsg { get; set; } /// /// 异常源 /// [Comment("异常源")] public string ExceptionSource { get; set; } /// /// 堆栈信息 /// [Comment("堆栈信息")] public string StackTrace { get; set; } /// /// 参数对象 /// [Comment("参数对象")] public string ParamsObj { get; set; } /// /// 异常时间 /// [Comment("异常时间")] public DateTimeOffset? ExceptionTime { get; set; } } }