29 lines
686 B
C#
29 lines
686 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using MapTo;
|
|
|
|
namespace BlueWest.WebApi.Context.Users
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
[MapFrom(typeof(ApplicationUserRoleUnique))]
|
|
|
|
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; }
|
|
|
|
}
|
|
}
|