using System; using SqlSugar; using Yi.Framework.Infrastructure.Data.Auditing; using Yi.Framework.Infrastructure.Ddd.Entities; namespace Yi.Furion.Core.Rbac.Entities { [SugarTable("LoginLog")] public class LoginLogEntity : IEntity, ICreationAuditedObject { [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)] public long Id { get; set; } public DateTime CreationTime { get; set; } /// /// 登录用户 /// [SugarColumn(ColumnName = "LoginUser")] public string LoginUser { get; set; } /// /// 登录地点 /// [SugarColumn(ColumnName = "LoginLocation")] public string LoginLocation { get; set; } /// /// 登录Ip /// [SugarColumn(ColumnName = "LoginIp")] public string LoginIp { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnName = "Browser")] public string Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnName = "Os")] public string Os { get; set; } /// /// 登录信息 /// [SugarColumn(ColumnName = "LogMsg")] public string LogMsg { get; set; } public long? CreatorId { get; set; } } }