Files
mixtape/zero.Core/Identity/Models/ZeroUser.cs
T

28 lines
639 B
C#

namespace zero.Identity;
/// <summary>
/// A zero user can access the zero API and backoffice by granting the necessary permissions
/// </summary>
[RavenCollection("Users")]
public class ZeroUser : ZeroIdentityUser
{
/// <summary>
/// Application the user registered in
/// </summary>
public string AppId { get; set; }
/// <summary>
/// Currently selected app id for the backoffice
/// </summary>
public string CurrentAppId { get; set; }
/// <summary>
/// Super user
/// </summary>
public bool IsSuper { get; set; }
/// <summary>
/// Avatar image
/// </summary>
public string AvatarId { get; set; }
}