Files
WatchIt/WatchIt.Common/WatchIt.Common.Model/Accounts/RegisterRequest.cs

15 lines
367 B
C#
Raw Normal View History

2024-04-27 22:36:16 +02:00
using System.Text.Json.Serialization;
namespace WatchIt.Common.Model.Accounts;
public class RegisterRequest
{
[JsonPropertyName("username")]
public required string Username { get; set; }
[JsonPropertyName("email")]
public required string Email { get; set; }
[JsonPropertyName("password")]
public required string Password { get; set; }
}