17 lines
519 B
C#
17 lines
519 B
C#
using Core.Thalos.BuildingBlocks;
|
|
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!;
|
|
|
|
}
|
|
}
|