namespace Admin.NET.Core;
///
/// 系统访问日志表
///
[SugarTable("sys_log_vis", "系统访问日志表")]
public class SysLogVis : EntityBase
{
///
/// 是否执行成功(Y-是,N-否)
///
[SugarColumn(ColumnDescription = "是否执行成功")]
public YesNoEnum Success { get; set; }
///
/// 具体消息
///
[SugarColumn(ColumnDescription = "具体消息", ColumnDataType = "longtext,text,clob")]
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 UserName { get; set; }
///
/// 真实姓名
///
[SugarColumn(ColumnDescription = "真实姓名", Length = 32)]
[MaxLength(32)]
public string RealName { get; set; }
}