rename dtos to requests

This commit is contained in:
Artemy
2025-06-24 21:43:35 +07:00
parent 76094af15b
commit 06cee5caae
5 changed files with 20 additions and 17 deletions
@@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations;
using Govor.Core.Infrastructure.Validators;
namespace Govor.Core.DTOs;
namespace Govor.Core.Requests;
public class LoginDto
public class LoginRequest
{
[Required]
[StringLength(UserValidator.MAX_LENGHT_OF_NAME,
@@ -2,9 +2,9 @@ using System.ComponentModel.DataAnnotations;
using Govor.Core.Infrastructure.Validators;
using Govor.Core.Models;
namespace Govor.Core.DTOs;
namespace Govor.Core.Requests;
public record RegistrationDto
public record RegistrationRequest
{
[Required]
[StringLength(UserValidator.MAX_LENGHT_OF_NAME,