2022-09-11 20:45:26 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
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
|
|
|
{
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public partial class ApplicationUserRole : IdentityUserRole<string>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// User entity of this role
|
|
|
|
/// </summary>
|
|
|
|
public ApplicationUser User { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
public ApplicationRole ApplicationRole { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string UserId { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string RoleId { get; set; }
|
|
|
|
|
2022-09-11 20:45:26 +03:00
|
|
|
}
|
2022-09-12 17:57:37 +03:00
|
|
|
}
|