feat(api): UserProfile

This commit is contained in:
Mikhail Trubnikov
2023-12-06 11:53:36 +10:00
parent 052312738e
commit b8e48859ae
7 changed files with 107 additions and 1 deletions

View File

@@ -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>();
}
}