using System.ComponentModel.DataAnnotations; namespace iiie.Authentication.DBO { public class BasicUserLogin { [Required] [MinLength(1)] public string Username { get; set; } [Required] [MinLength(1)] public string Password { get; set; } } }