DotBased/DotBased.ASP.Auth/Domains/Auth/RoleModel.cs

12 lines
416 B
C#
Raw Permalink Normal View History

using DotBased.Objects;
2024-07-07 17:41:54 +02:00
namespace DotBased.ASP.Auth.Domains.Auth;
public class RoleModel
{
public string Id { get; set; } = Guid.NewGuid().ToString();
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public List<PermissionModel> Permissions { get; set; } = [];
public List<DbObjectAttribute<IConvertible>> Attributes { get; set; } = [];
2024-07-07 17:41:54 +02:00
}