2023-12-11 09:55:12 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using SqlSugar;
|
2023-04-15 22:44:33 +08:00
|
|
|
|
|
2023-12-11 09:55:12 +08:00
|
|
|
|
namespace Yi.Framework.Rbac.Domain.Shared.Etos
|
2023-04-15 22:44:33 +08:00
|
|
|
|
{
|
2023-12-11 09:55:12 +08:00
|
|
|
|
public class LoginEventArgs
|
2023-04-15 22:44:33 +08:00
|
|
|
|
{
|
2023-12-11 09:55:12 +08:00
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
|
public string UserName { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
|
2023-12-11 09:55:12 +08:00
|
|
|
|
public DateTime CreationTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 登录地点
|
|
|
|
|
|
///</summary>
|
2023-04-20 23:08:21 +08:00
|
|
|
|
public string? LoginLocation { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 登录Ip
|
|
|
|
|
|
///</summary>
|
2023-04-20 23:08:21 +08:00
|
|
|
|
public string? LoginIp { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 浏览器
|
|
|
|
|
|
///</summary>
|
2023-04-20 23:08:21 +08:00
|
|
|
|
public string? Browser { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 操作系统
|
|
|
|
|
|
///</summary>
|
2023-12-11 09:55:12 +08:00
|
|
|
|
|
2023-04-20 23:08:21 +08:00
|
|
|
|
public string? Os { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 登录信息
|
|
|
|
|
|
///</summary>
|
2023-04-20 23:08:21 +08:00
|
|
|
|
public string? LogMsg { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|