auto.bus_api/SharedModels/Requests/RegistrationRequest.cs

12 lines
293 B
C#

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