using DapperExtensions; using System; using System.ComponentModel.DataAnnotations; namespace FineAdmin.Model { [Table("dbsys_LogonLog")] public class LogonLogModel { /// /// 主键 /// [DapperExtensions.Key(true)] public int Id { get; set; } /// /// 登录类型 /// public string LogType { get; set; } /// /// 账户 /// public string Account { get; set; } /// /// 姓名 /// public string RealName { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// IP地址 /// public string IPAddress { get; set; } /// /// IP所在城市 /// public string IPAddressName { get; set; } /// /// 创建时间 /// [DataType(DataType.Date)] [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd HH:mm:ss}")] [Display(Name = "创建时间")] public DateTime CreateTime { get; set; } /// /// 日志查询时间范围 /// [Computed] public string StartEndDate { get; set; } } }