CodeLiturgy.Dashboard/CodeLiturgy.Data.Application/Application/ApplicationUserClaim/ApplicationUserClaim.cs

33 lines
801 B
C#
Raw Normal View History

2022-09-10 00:33:17 +03:00
using Microsoft.AspNetCore.Identity;
2022-09-12 17:57:37 +03:00
using MapTo;
2022-09-10 00:33:17 +03:00
2022-09-27 20:12:13 +03:00
namespace BlueWest.Data.Application.Users
2022-09-10 00:33:17 +03:00
{
2022-09-12 17:57:37 +03:00
[MapFrom(typeof(ApplicationUserClaimUnique))]
2022-09-11 01:22:04 +03:00
/// <inheritdoc />
2022-09-12 17:57:37 +03:00
public partial class ApplicationUserClaim : IdentityUserClaim<string>
{
/// <inheritdoc />
public sealed override int Id { get; set; }
#region User
/// <inheritdoc />
public sealed override string UserId { get; set; }
2022-09-12 17:57:37 +03:00
/// <summary>
/// Application User entity
/// </summary>
public ApplicationUser ApplicationUser { get; set; }
2022-09-12 17:57:37 +03:00
#endregion
2022-09-12 17:57:37 +03:00
/// <inheritdoc />
public sealed override string ClaimType { get; set; }
2022-09-11 01:22:04 +03:00
2022-09-12 17:57:37 +03:00
/// <inheritdoc />
public sealed override string ClaimValue { get; set; }
2022-09-11 01:22:04 +03:00
}
2022-09-12 17:57:37 +03:00
}