LogOnModel.cs 628 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace EMISOnline.ViewModel.Account
  7. {
  8. public class LogOnModel
  9. {
  10. [Required]
  11. [Display(Name = "用户名")]
  12. public string UserName { get; set; }
  13. [Required]
  14. [DataType(DataType.Password)]
  15. [Display(Name = "密码")]
  16. public string Password { get; set; }
  17. [Display(Name = "记住我")]
  18. public bool RememberMe { get; set; }
  19. [Display(Name = "验证码")]
  20. public string VerifyCode { get; set; }
  21. }
  22. }