using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Dilon.Core { /// /// 访问日志表 /// [Table("sys_log_vis")] [Comment("访问日志表")] public class SysLogVis : EntityBase { /// /// 名称 /// [Comment("名称")] public string Name { get; set; } /// /// 是否执行成功(Y-是,N-否) /// [Comment("是否执行成功")] public string Success { get; set; } /// /// 具体消息 /// [Comment("具体消息")] public string Message { get; set; } /// /// IP /// [Comment("IP")] public string Ip { get; set; } /// /// 地址 /// [Comment("地址")] public string Location { get; set; } /// /// 浏览器 /// [Comment("浏览器")] public string Browser { get; set; } /// /// 操作系统 /// [Comment("操作系统")] public string Os { get; set; } /// /// 访问类型(字典 1登入 2登出) /// [Comment("访问类型")] public int? VisType { get; set; } /// /// 访问时间 /// [Comment("访问时间")] public DateTimeOffset VisTime { get; set; } /// /// 访问人 /// [Comment("访问人")] public string Account { get; set; } } }