namespace Admin.NET.Core; /// /// 系统在线用户表 /// [SugarTable(null, "系统在线用户表")] [SystemTable] public class SysOnlineUser : EntityTenantId { /// /// 连接Id /// [SugarColumn(ColumnDescription = "连接Id")] public string? ConnectionId { get; set; } /// /// 用户Id /// [SugarColumn(ColumnDescription = "用户Id")] public long UserId { get; set; } /// /// 账号 /// [SugarColumn(ColumnDescription = "账号", Length = 32)] [Required, MaxLength(32)] public virtual string UserName { get; set; } /// /// 真实姓名 /// [SugarColumn(ColumnDescription = "真实姓名", Length = 32)] [MaxLength(32)] public string? RealName { get; set; } /// /// 连接时间 /// [SugarColumn(ColumnDescription = "连接时间")] public DateTime? Time { get; set; } /// /// 连接IP /// [SugarColumn(ColumnDescription = "连接IP", Length = 256)] [MaxLength(256)] public string? Ip { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnDescription = "浏览器", Length = 128)] [MaxLength(128)] public string? Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnDescription = "操作系统", Length = 128)] [MaxLength(128)] public string? Os { get; set; } }