birbmap/Birdmap/DTOs/AuthenticateRequest.cs
2020-10-24 23:23:22 +02:00

14 lines
390 B
C#

using System.ComponentModel.DataAnnotations;
namespace Birdmap.Models
{
public class AuthenticateRequest
{
[Required(AllowEmptyStrings = false, ErrorMessage = "Username is required.")]
public string Username { get; set; }
[Required(AllowEmptyStrings = false, ErrorMessage = "Password is required.")]
public string Password { get; set; }
}
}