namespace Admin.NET.Core; /// /// 系统访问日志表 /// [SugarTable(null, "系统访问日志表")] [SystemTable] public class SysLogVis : EntityTenant { /// /// 模块名称 /// [SugarColumn(ColumnDescription = "模块名称", Length = 256)] [MaxLength(256)] public string? ControllerName { get; set; } /// /// 方法名称 /// [SugarColumn(ColumnDescription = "方法名称", Length = 256)] [MaxLength(256)] public string? ActionName { get; set; } /// /// 显示名称 /// [SugarColumn(ColumnDescription = "显示名称", Length = 256)] [MaxLength(256)] public string? DisplayTitle { get; set; } /// /// 执行状态 /// [SugarColumn(ColumnDescription = "执行状态", Length = 32)] [MaxLength(32)] public string? Status { get; set; } /// /// IP地址 /// [SugarColumn(ColumnDescription = "IP地址", Length = 256)] [MaxLength(256)] public string? RemoteIp { get; set; } /// /// 登录地点 /// [SugarColumn(ColumnDescription = "登录地点", Length = 128)] [MaxLength(128)] public string? Location { get; set; } /// /// 经度 /// [SugarColumn(ColumnDescription = "经度")] public double? Longitude { get; set; } /// /// 维度 /// [SugarColumn(ColumnDescription = "维度")] public double? Latitude { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnDescription = "浏览器", Length = 1024)] [MaxLength(1024)] public string? Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnDescription = "操作系统", Length = 256)] [MaxLength(256)] public string? Os { get; set; } /// /// 操作用时 /// [SugarColumn(ColumnDescription = "操作用时")] public long? Elapsed { get; set; } /// /// 日志时间 /// [SugarColumn(ColumnDescription = "日志时间")] public DateTime? LogDateTime { get; set; } /// /// 日志级别 /// [SugarColumn(ColumnDescription = "日志级别")] public LogLevel? LogLevel { get; set; } /// /// 账号 /// [SugarColumn(ColumnDescription = "账号", Length = 32)] [MaxLength(32)] public string? Account { get; set; } /// /// 真实姓名 /// [SugarColumn(ColumnDescription = "真实姓名", Length = 32)] [MaxLength(32)] public string? RealName { get; set; } }