using System.ComponentModel.DataAnnotations; namespace BlueWest.WebApi.Context.Users { // from: https://github.com/dotnet/aspnetcore/tree/main/src/Identity/samples/IdentitySample.Mvc/Models/AccountViewModels /// /// Login View Model /// public class LoginViewModel { /// /// Email /// [Required] [EmailAddress] public string Email { get; set; } /// /// Password /// [Required] [DataType(DataType.Password)] public string Password { get; set; } /// /// RememberMe /// [Display(Name = "Remember me?")] public bool RememberMe { get; set; } } }