namespace Admin.NET.Core; /// /// 系统访问日志表 /// [SugarTable(null, "系统访问日志表")] [SystemTable] public class SysLogVis : EntityTenant { /// /// 是否执行成功(Y-是,N-否) /// [SugarColumn(ColumnDescription = "是否执行成功")] public YesNoEnum Success { get; set; } /// /// 具体消息 /// [SugarColumn(ColumnDescription = "具体消息", ColumnDataType = StaticConfig.CodeFirst_BigString)] public string? Message { get; set; } /// /// IP地址 /// [SugarColumn(ColumnDescription = "IP地址", Length = 16)] [MaxLength(16)] public string? Ip { get; set; } /// /// 地址 /// [SugarColumn(ColumnDescription = "地址", Length = 128)] [MaxLength(128)] public string? Location { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnDescription = "浏览器", Length = 128)] [MaxLength(128)] public string? Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnDescription = "操作系统", Length = 128)] [MaxLength(128)] public string? Os { get; set; } /// /// 访问类型 /// [SugarColumn(ColumnDescription = "访问类型")] public LoginTypeEnum VisType { get; set; } /// /// 账号 /// [SugarColumn(ColumnDescription = "账号", Length = 32)] [MaxLength(32)] public string? Account { get; set; } /// /// 真实姓名 /// [SugarColumn(ColumnDescription = "真实姓名", Length = 32)] [MaxLength(32)] public string? RealName { get; set; } }