/*********************************************************************** * Project: baifenBinfa * ProjectName: 核心内容管理系统 * Web: http://chuanyin.com * Author: * Email: 34161541@qq.com * CreateTime: 2021-06-08 22:14:59 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// Nlog记录表 /// [SugarTable("SysNLogRecords",TableDescription = "Nlog记录表")] public partial class SysNLogRecords { /// /// Nlog记录表 /// public SysNLogRecords() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 时间 /// [Display(Name = "时间")] [SugarColumn(ColumnDescription = "时间", IsNullable = true)] public System.DateTime? LogDate { get; set; } /// /// 级别 /// [Display(Name = "级别")] [SugarColumn(ColumnDescription = "级别", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String LogLevel { get; set; } /// /// 事件日志上下文 /// [Display(Name = "事件日志上下文")] [SugarColumn(ColumnDescription = "事件日志上下文", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String LogType { get; set; } /// /// 事件标题 /// [Display(Name = "事件标题")] [SugarColumn(ColumnDescription = "事件标题", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String LogTitle { get; set; } /// /// 记录器名字 /// [Display(Name = "记录器名字")] [SugarColumn(ColumnDescription = "记录器名字", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String Logger { get; set; } /// /// 消息 /// [Display(Name = "消息")] [SugarColumn(ColumnDescription = "消息", IsNullable = true)] public System.String Message { get; set; } /// /// 异常信息 /// [Display(Name = "异常信息")] [SugarColumn(ColumnDescription = "异常信息", IsNullable = true)] public System.String Exception { get; set; } /// /// 机器名称 /// [Display(Name = "机器名称")] [SugarColumn(ColumnDescription = "机器名称", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String MachineName { get; set; } /// /// ip /// [Display(Name = "ip")] [SugarColumn(ColumnDescription = "ip", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String MachineIp { get; set; } /// /// 请求方式 /// [Display(Name = "请求方式")] [SugarColumn(ColumnDescription = "请求方式", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String NetRequestMethod { get; set; } /// /// 请求地址 /// [Display(Name = "请求地址")] [SugarColumn(ColumnDescription = "请求地址", IsNullable = true)] [StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String NetRequestUrl { get; set; } /// /// 是否授权 /// [Display(Name = "是否授权")] [SugarColumn(ColumnDescription = "是否授权", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String NetUserIsauthenticated { get; set; } /// /// 授权类型 /// [Display(Name = "授权类型")] [SugarColumn(ColumnDescription = "授权类型", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String NetUserAuthtype { get; set; } /// /// 身份认证 /// [Display(Name = "身份认证")] [SugarColumn(ColumnDescription = "身份认证", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String NetUserIdentity { get; set; } } }