using System.Text.Json.Serialization; namespace PlaylistShared.Shared.Auth; /// Запрос на регистрацию нового пользователя. public class RegisterRequest { /// Имя пользователя (логин). [JsonPropertyName("username")] public string Username { get; set; } = null!; /// Email пользователя. [JsonPropertyName("email")] public string Email { get; set; } = null!; /// Пароль. [JsonPropertyName("password")] public string Password { get; set; } = null!; }