using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace BlueWest.WebApi.Context.Users;
///
public class ApplicationUserRole : IdentityUserRole
{
///
/// User entity of this role
///
public ApplicationUser User { get; set; }
public ApplicationRole ApplicationRole { get; set; }
///
public sealed override string UserId { get; set; }
///
public sealed override string RoleId { get; set; }
public ApplicationUserRole() { }
public ApplicationUserRole(ApplicationUserRole applicationUserRole)
{
User = applicationUserRole.User;
UserId = applicationUserRole.UserId;
RoleId = applicationUserRole.RoleId;
ApplicationRole = applicationUserRole.ApplicationRole;
}
}