DTOs docs
This commit is contained in:
parent
fb3320fe18
commit
d692a2e519
8 changed files with 104 additions and 1 deletions
|
|
@ -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; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue