2021-05-04 17:23:52 +02:00
|
|
|
using zero.Core.Attributes;
|
2020-03-24 20:30:03 +01:00
|
|
|
|
2020-03-24 23:09:29 +01:00
|
|
|
namespace zero.Core.Entities
|
2020-03-24 20:30:03 +01:00
|
|
|
{
|
2020-11-25 00:51:01 +01:00
|
|
|
[Collection("Users")]
|
2021-05-04 17:23:52 +02:00
|
|
|
public class BackofficeUser : ZeroIdentityUser
|
2020-03-24 20:30:03 +01:00
|
|
|
{
|
2020-11-15 20:11:27 +01:00
|
|
|
/// <summary>
|
2020-11-16 01:07:07 +01:00
|
|
|
/// Application the user registered in
|
2020-11-15 20:11:27 +01:00
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public string AppId { get; set; }
|
2020-11-15 20:11:27 +01:00
|
|
|
|
2020-05-20 16:09:56 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Currently selected app id for the backoffice
|
|
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public string CurrentAppId { get; set; }
|
2020-05-20 16:09:56 +02:00
|
|
|
|
2020-03-24 20:30:03 +01:00
|
|
|
/// <summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
/// Super user
|
2020-03-24 20:30:03 +01:00
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public bool IsSuper { get; set; }
|
2020-03-24 20:30:03 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Avatar image
|
|
|
|
|
/// </summary>
|
2021-05-04 17:23:52 +02:00
|
|
|
public string AvatarId { get; set; }
|
2020-03-24 20:30:03 +01:00
|
|
|
}
|
|
|
|
|
}
|