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-11-18 03:15:53 +03:00
|
|
|
namespace CodeLiturgy.Data.Application.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
|
|
|
}
|