DTOs docs

This commit is contained in:
Вячеслав 2025-04-27 16:03:56 +05:00
parent fb3320fe18
commit d692a2e519
8 changed files with 104 additions and 1 deletions

View file

@ -1,10 +1,32 @@
namespace SurveyBackend.DTOs;
/// <summary>
/// Схема регистрации пользователя
/// </summary>
public record UserRegistrationDto
{
public string Email { get; set; }
/// <summary>
/// Почта
/// </summary>
public required string Email { get; set; }
/// <summary>
/// Юзернейм
/// </summary>
public string Username { get; set; }
/// <summary>
/// Имя
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Фамилия
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Пароль
/// </summary>
public string Password { get; set; }
}