2022-10-03 17:04:59 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.WebCore.SignalRHub
|
|
|
|
|
|
{
|
|
|
|
|
|
public class OnlineUser
|
|
|
|
|
|
{
|
2022-10-03 18:27:37 +08:00
|
|
|
|
|
|
|
|
|
|
public OnlineUser()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
public OnlineUser(string connnectionId)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.ConnnectionId = connnectionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-10-03 17:04:59 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户端连接Id
|
|
|
|
|
|
/// </summary>
|
2022-10-17 18:08:16 +08:00
|
|
|
|
public string? ConnnectionId { get; }
|
2022-10-03 17:04:59 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 用户id
|
|
|
|
|
|
/// </summary>
|
2022-10-03 18:27:37 +08:00
|
|
|
|
public long? UserId { get; set; }
|
2022-10-17 18:08:16 +08:00
|
|
|
|
public string? UserName { get; set; }
|
|
|
|
|
|
public DateTime? LoginTime { get; set; }
|
|
|
|
|
|
public string? Ipaddr { get; set; }
|
|
|
|
|
|
public string? LoginLocation { get; set; }
|
2022-10-03 18:27:37 +08:00
|
|
|
|
|
2022-10-17 18:08:16 +08:00
|
|
|
|
public string? Os { get; set; }
|
|
|
|
|
|
public string? Browser { get; set; }
|
2022-10-03 18:27:37 +08:00
|
|
|
|
|
2022-10-03 17:04:59 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|