You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
957 B
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace NPin.Framework.Upms.Domain.Shared.Etos;
/// <summary>
/// 用户登录事件参数
/// </summary>
public class LoginEventArgs
{
public Guid UserId { get; set; }
public string Username { get; set; }
public string Nickname { get; set; }
public DateTime CreationTime { get; set; }
/// <summary>
/// 登录地点
/// </summary>
public string? LoginLocation { get; set; }
/// <summary>
/// 登录Ipv4地址
/// </summary>
public string? LoginIPv4 { get; set; }
/// <summary>
/// 登录Ipv6地址仅当支持Ipv6时有值
/// </summary>
public string? LoginIPv6 { get; set; }
/// <summary>
/// 登录浏览器
/// </summary>
public string? Browser { get; set; }
/// <summary>
/// 操作系统
/// </summary>
public string? Os { get; set; }
/// <summary>
/// 登录信息
/// </summary>
public string? LoginMsg { get; set; }
}