CodeLiturgy.Dashboard/CodeLiturgy.Views/Application/ApplicationUserRole/ApplicationUserRole.cs

28 lines
642 B
C#

using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using MapTo;
namespace CodeLiturgy.Data.Application.Users
{
/// <inheritdoc />
public partial class ApplicationUserRole : IdentityUserRole<string>
{
/// <summary>
/// User entity of this role
/// </summary>
public ApplicationUser User { get; set; }
public ApplicationRole ApplicationRole { get; set; }
/// <inheritdoc />
public sealed override string UserId { get; set; }
/// <inheritdoc />
public sealed override string RoleId { get; set; }
}
}