Refactored response and request models to dto naming. Adjusted mapper naming

This commit is contained in:
2026-01-14 19:19:45 +01:00
parent 1d1dfc2c1c
commit 7f482fd6c3
37 changed files with 119 additions and 119 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Roles;
public class UpdateRoleDto
{
[Required] [MaxLength(15)] public string Name { get; set; }
[MaxLength(100)] public string Description { get; set; } = "";
[Required] public string[] Permissions { get; set; }
}