using System; using Microsoft.AspNetCore.Identity; namespace BlueWest.WebApi.Context.Users; /// public class ApplicationRoleClaim : IdentityRoleClaim { public sealed override int Id { get; set; } #region ApplicationRole public sealed override string RoleId { get; set; } public ApplicationRole ApplicationRole { get; set; } #endregion public sealed override string ClaimType { get; set; } public sealed override string ClaimValue { get; set; } public ApplicationRoleClaim() { } public ApplicationRoleClaim(ApplicationRoleClaim applicationRoleClaim) { Id = applicationRoleClaim.Id; RoleId = applicationRoleClaim.RoleId; ApplicationRole = applicationRoleClaim.ApplicationRole; ClaimType = applicationRoleClaim.ClaimType; ClaimValue = applicationRoleClaim.ClaimValue; } }