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; } /// /// 客户端连接Id /// public string? ConnnectionId { get; } /// /// 用户id /// 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; } } }