using SqlSugar; using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace GDZZ.Core.Entity; /// /// 访问日志表 /// [SugarTable("sys_log_vis")] [Description("访问日志表")] public class SysLogVis : AutoIncrementEntity { /// /// 名称 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "名称", IsNullable = true)] public string Name { get; set; } /// /// 是否执行成功(Y-是,N-否) /// [SugarColumn(ColumnDescription = "是否执行成功(Y-是,N-否)")] public YesOrNot Success { get; set; } /// /// 具体消息 /// [SugarColumn(ColumnDescription = "具体消息", IsNullable = true)] public string Message { get; set; } /// /// IP /// [MaxLength(20)] [SugarColumn(ColumnDescription = "IP", IsNullable = true)] public string Ip { get; set; } /// /// 地址 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "地址", IsNullable = true)] public string Location { get; set; } /// /// 浏览器 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "浏览器", IsNullable = true)] public string Browser { get; set; } /// /// 操作系统 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "操作系统", IsNullable = true)] public string Os { get; set; } /// /// 访问类型 /// [SugarColumn(ColumnDescription = "访问类型")] public LoginType VisType { get; set; } /// /// 访问时间 /// [SugarColumn(ColumnDescription = "访问时间", IsNullable = true)] public DateTime VisTime { get; set; } /// /// 访问人 /// [MaxLength(20)] [SugarColumn(ColumnDescription = "访问人", IsNullable = true)] public string Account { get; set; } }