2022-09-10 00:33:17 +03:00
|
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
|
|
|
|
namespace BlueWest.WebApi.Context.Users
|
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
public class ApplicationRole : IdentityRole<string>
|
2022-09-11 01:22:04 +03:00
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string Id { get; set; }
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string Name { get; set; }
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string NormalizedName { get; set; }
|
|
|
|
|
2022-09-11 20:45:26 +03:00
|
|
|
public ApplicationRole(ApplicationRole applicationRole)
|
|
|
|
{
|
|
|
|
Id = applicationRole.Id;
|
|
|
|
Name = applicationRole.Name;
|
|
|
|
NormalizedName = applicationRole.NormalizedName;
|
|
|
|
}
|
|
|
|
|
2022-09-11 01:22:04 +03:00
|
|
|
}
|
2022-09-10 00:33:17 +03:00
|
|
|
}
|
|
|
|
|