20 lines
493 B
C#
20 lines
493 B
C#
namespace PARR.API.Authentication.Models
|
|
{
|
|
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>();
|
|
}
|
|
}
|