You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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