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,13 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Users;
public class CreateUserDto
{
[Required]
[MinLength(3)]
[MaxLength(32)]
public string Username { get; set; }
[Required] [EmailAddress] public string Email { get; set; }
}