// 麻省理工学院许可证
//
// 版权所有 (c) 2021-2023 zuohuaijun,大名科技(天津)有限公司 联系电话/微信:18020030720 QQ:515096995
//
// 特此免费授予获得本软件的任何人以处理本软件的权利,但须遵守以下条件:在所有副本或重要部分的软件中必须包括上述版权声明和本许可声明。
//
// 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
// 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
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; }
}