add "me" endpoint
This commit is contained in:
parent
98b38f645f
commit
ae1a8d2b97
7 changed files with 49 additions and 10 deletions
|
|
@ -1,32 +0,0 @@
|
|||
namespace SurveyBackend.DTOs;
|
||||
|
||||
/// <summary>
|
||||
/// Схема регистрации пользователя
|
||||
/// </summary>
|
||||
public record UserRegistrationDto
|
||||
{
|
||||
/// <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