Y2S2-Syski/syski_api/uk.co.syski.api/Models/UserAuthDTO.cs
2020-06-09 21:02:14 +01:00

17 lines
296 B
C#

using System.ComponentModel.DataAnnotations;
namespace Syski.API.Models
{
public class UserAuthDTO
{
[Required]
public string Email { get; set; }
[Required]
[StringLength(100, MinimumLength = 6)]
public string Password { get; set; }
}
}