17 lines
		
	
	
		
			526 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			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!;
 | |
| 
 | |
|     }
 | |
| }
 | 
