using System; using System.ComponentModel.DataAnnotations.Schema; using Znyc.Admin.Commons.Core.DataManager; using Znyc.Admin.Commons.Entitys; namespace Znyc.Admin.Security.Entitys { /// /// 访问日志表 /// [AppDBContext("DefaultDb")] [Table("dc_log_vis")] [Serializable] public class LogVis : BaseEntity { /// /// 默认构造函数(需要初始化属性的在此处理) /// public LogVis() { IsDeleted = false; CreatedTime = DateTime.Now; } /// /// 名称 /// public string Name { get; set; } /// /// 是否执行成功 /// public string Success { get; set; } /// /// 具体消息 /// public string Message { get; set; } /// /// Ip /// public string Ip { get; set; } /// /// 地址 /// public string Location { get; set; } /// /// 浏览器 /// public string Browser { get; set; } /// /// 访问类型 /// public string VisType { get; set; } /// /// 操作系统 /// public string Os { get; set; } /// /// 操作账号 /// public string Account { get; set; } /// /// 访问时间 /// public DateTime VisTime { get; set; } } }