1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2026-06-13 21:18:17 +02:00
Files

20 lines
482 B
C#

using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
namespace OneSwiss.Server.Models;
public class ApplicationRole : IdentityRole<Guid>, IHasId
{
public ApplicationRole()
{
}
public ApplicationRole(string role, string description) : base(role)
{
Description = description;
}
[MaxLength(100)] public string Description { get; set; } = string.Empty;
public List<AccessGroup> AccessGroups { get; set; } = [];
}