auto.bus_api/BackEnd (ASP.NET Web API)/SharedModels/Requests/RegistrationRequest.cs

13 lines
308 B
C#

using System.ComponentModel.DataAnnotations;
namespace SharedModels.Requests;
public class RegistrationRequest
{
[Required]
public string Username { get; set; } = null!;
[Required]
public string Email { get; set; } = null!;
[Required]
public string Password { get; set; } = null!;
}