initial commit from an older template
This commit is contained in:
15
Models/Database/ApplicationRole.cs
Executable file
15
Models/Database/ApplicationRole.cs
Executable file
@@ -0,0 +1,15 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using StackExchange.Redis;
|
||||
|
||||
namespace GamificationService.Models.Database;
|
||||
|
||||
|
||||
public class ApplicationRole : IdentityRole<long>
|
||||
{
|
||||
public ApplicationRole() : base() { }
|
||||
public ApplicationRole(string roleName) : base(roleName) { }
|
||||
public string? Description { get; set; }
|
||||
|
||||
public List<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
||||
public List<RoleRight> RoleRights { get; set; } = new List<RoleRight>();
|
||||
}
|
||||
Reference in New Issue
Block a user