LoginViewModel.cs 547 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace Winsoft.GOV.XF.WXCore.Models.AccountViewModels
  7. {
  8. public class LoginViewModel
  9. {
  10. [Required]
  11. [EmailAddress]
  12. public string Email { get; set; }
  13. [Required]
  14. [DataType(DataType.Password)]
  15. public string Password { get; set; }
  16. [Display(Name = "Remember me?")]
  17. public bool RememberMe { get; set; }
  18. }
  19. }