using System.ComponentModel.DataAnnotations; using Dm.Config; using Entity.Base; using SqlSugar; namespace Entity.DbModel.System { /// /// 系统访问日志表 /// [SugarTable("sys_log_vis")] public partial class SysLogVis : EntityBase { /// /// 模块名称 /// [SugarColumn(ColumnDescription = "模块名称", Length = 256, ColumnName = "controller_name")] [MaxLength(256)] public string? ControllerName { get; set; } /// /// 方法名称 /// [SugarColumn(ColumnDescription = "方法名称", Length = 256, ColumnName = "action_name")] [MaxLength(256)] public string? ActionName { get; set; } /// /// 显示名称 /// [SugarColumn(ColumnDescription = "显示名称", Length = 256, ColumnName = "display_title")] [MaxLength(256)] public string? DisplayTitle { get; set; } /// /// 执行状态 /// [SugarColumn(ColumnDescription = "执行状态", Length = 32, ColumnName = "status")] [MaxLength(32)] public string? Status { get; set; } /// /// IP地址 /// [SugarColumn(ColumnDescription = "IP地址", Length = 256, ColumnName = "remote_ip")] [MaxLength(256)] public string? RemoteIp { get; set; } /// /// 登录地点 /// [SugarColumn(ColumnDescription = "登录地点", Length = 128, ColumnName = "location")] [MaxLength(128)] public string? Location { get; set; } /// /// 经度 /// [SugarColumn(ColumnDescription = "经度", ColumnName = "longitude")] public double? Longitude { get; set; } /// /// 维度 /// [SugarColumn(ColumnDescription = "维度", ColumnName = "latitude")] public double? Latitude { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnDescription = "浏览器", Length = 1024, ColumnName = "browser")] [MaxLength(1024)] public string? Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnDescription = "操作系统", Length = 256, ColumnName = "os")] [MaxLength(256)] public string? Os { get; set; } /// /// 操作用时 /// [SugarColumn(ColumnDescription = "操作用时", ColumnName = "elapsed")] public long? Elapsed { get; set; } /// /// 日志时间 /// [SugarColumn(ColumnDescription = "日志时间", ColumnName = "log_date_time")] public DateTime? LogDateTime { get; set; } /// /// 日志级别 /// [SugarColumn(ColumnDescription = "日志级别", ColumnName = "log_level")] public LogLevel? LogLevel { get; set; } /// /// 账号 /// [SugarColumn(ColumnDescription = "账号", Length = 32, ColumnName = "account")] [MaxLength(32)] public string? Account { get; set; } /// /// 真实姓名 /// [SugarColumn(ColumnDescription = "真实姓名", Length = 32, ColumnName = "real_name")] [MaxLength(32)] public string? RealName { get; set; } } }