Core.Thalos.Service.API/Core.Thalos.External/Clients/Requests/RoleRequest.cs
2025-05-18 19:23:42 -06:00

17 lines
526 B
C#

using Core.Thalos.Adapters.Common.Enums;
using System.Text.Json.Serialization;
namespace Core.Thalos.External.Clients.Requests
{
public class RoleRequest
{
public string Name { get; set; } = null!;
public string? Description { get; set; }
[JsonConverter(typeof(EnumArrayJsonConverter<ApplicationsEnum>))]
public ApplicationsEnum[]? Applications { get; set; }
public string[] Modules { get; set; } = null!;
public string[] Permissions { get; set; } = null!;
}
}