Files
mixtape/zero.Core/Entities/User/BackofficeUserRole.cs
T
2020-11-14 12:34:26 +01:00

33 lines
795 B
C#

using System.Collections.Generic;
using zero.Core.Attributes;
using zero.Core.Identity;
namespace zero.Core.Entities
{
public class BackofficeUserRole : ZeroEntity, IBackofficeUserRole, IZeroDbConventions
{
/// <inheritdoc/>
public string Description { get; set; }
/// <inheritdoc/>
public string Icon { get; set; }
/// <inheritdoc/>
public List<IUserClaim> Claims { get; set; } = new List<IUserClaim>();
}
[Collection("BackofficeUserRoles")]
public interface IBackofficeUserRole : IZeroEntity, IZeroDbConventions, IIdentityUserRole
{
/// <summary>
/// Additional description
/// </summary>
string Description { get; set; }
/// <summary>
/// Displayed icon alongside name
/// </summary>
string Icon { get; set; }
}
}