2022-09-11 20:45:26 +03:00
|
|
|
using System;
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
2022-09-12 17:57:37 +03:00
|
|
|
using MapTo;
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
namespace BlueWest.WebApi.Context.Users
|
2022-09-11 20:45:26 +03:00
|
|
|
{
|
2022-09-12 17:57:37 +03:00
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
[MapFrom(typeof(ApplicationRoleClaimUnique))]
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public partial class ApplicationRoleClaim : IdentityRoleClaim<string>
|
|
|
|
{
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public sealed override int Id { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
#region ApplicationRole
|
|
|
|
public sealed override string RoleId { get; set; }
|
|
|
|
|
|
|
|
public ApplicationRole ApplicationRole { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
#endregion
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public sealed override string ClaimType { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public sealed override string ClaimValue { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
|
|
|
}
|
2022-09-12 17:57:37 +03:00
|
|
|
}
|