auto.bus_api/SharedModels/Requests/AuthenticationRequest.cs

13 lines
269 B
C#

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