1234567891011121314151617181920 |
- namespace OASystem.API.OAMethodLib.SignalR.Hubs
- {
- public class UserStore
- {
- public static List<UserModel> OnlineUser { get; set; } = new List<UserModel>();
- }
- public class UserModel
- {
- public int UserId { get; set; }
- public string ConnectionId { get; set; }
- public string GroupName { get; set; }
- public DateTime OnlineTime { get; set; } = DateTime.Now;
- }
- }
|