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