Чистка кода
This commit is contained in:
19
PlaylistShared.Shared/Auth/RegisterRequest.cs
Normal file
19
PlaylistShared.Shared/Auth/RegisterRequest.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PlaylistShared.Shared.Auth;
|
||||
|
||||
/// <summary>Запрос на регистрацию нового пользователя.</summary>
|
||||
public class RegisterRequest
|
||||
{
|
||||
/// <summary>Имя пользователя (логин).</summary>
|
||||
[JsonPropertyName("username")]
|
||||
public string Username { get; set; } = null!;
|
||||
|
||||
/// <summary>Email пользователя.</summary>
|
||||
[JsonPropertyName("email")]
|
||||
public string Email { get; set; } = null!;
|
||||
|
||||
/// <summary>Пароль.</summary>
|
||||
[JsonPropertyName("password")]
|
||||
public string Password { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user