using System.Collections.Generic;
using zero.Core.Attributes;
namespace zero.Core.Entities
{
public class UserRole : ZeroEntity, IUserRole, IZeroDbConventions
{
///
public string Description { get; set; }
///
public string Icon { get; set; }
///
public List Claims { get; set; } = new List();
}
[Collection("UserRoles")]
public interface IUserRole : IZeroEntity, IAppAwareShareableEntity, IZeroDbConventions
{
///
/// Additional description
///
string Description { get; set; }
///
/// Displayed icon alongside name
///
string Icon { get; set; }
///
/// The user's claims, for use in claims-based authentication.
///
List Claims { get; set; }
}
}