Y2S2-Syski/syski_api/uk.co.syski.api/Models/UserAuthDTO.cs

17 lines
296 B
C#
Raw Normal View History

2020-06-09 20:02:14 +00:00
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; }
}
}