feat(api): UserProfile
This commit is contained in:
@@ -2,12 +2,18 @@
|
||||
{
|
||||
public class UserCache
|
||||
{
|
||||
public Guid? UserId { get; set; }
|
||||
|
||||
public Guid? HostId { get; set; }
|
||||
|
||||
public required string UserIp { get; set; }
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public DateTimeOffset? LastLogon { get; set; }
|
||||
|
||||
public List<UserRoleInCache> Roles { get; set; } = new List<UserRoleInCache>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user