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