mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-04 00:35:47 +08:00
38 lines
841 B
C#
38 lines
841 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Yi.Framework.WebCore.SignalRHub
|
|
{
|
|
public class OnlineUser
|
|
{
|
|
|
|
public OnlineUser()
|
|
{
|
|
|
|
}
|
|
public OnlineUser(string connnectionId)
|
|
{
|
|
this.ConnnectionId = connnectionId;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 客户端连接Id
|
|
/// </summary>
|
|
public string? ConnnectionId { get; }
|
|
/// <summary>
|
|
/// 用户id
|
|
/// </summary>
|
|
public long? UserId { get; set; }
|
|
public string? UserName { get; set; }
|
|
public DateTime? LoginTime { get; set; }
|
|
public string? Ipaddr { get; set; }
|
|
public string? LoginLocation { get; set; }
|
|
|
|
public string? Os { get; set; }
|
|
public string? Browser { get; set; }
|
|
|
|
|
|
}
|
|
}
|