BatchInitPasswordView.cs 895 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. namespace EMIS.ViewModel.SystemView
  8. {
  9. public partial class BatchInitPasswordView
  10. {
  11. /// <summary>
  12. /// 用户
  13. /// </summary>
  14. [DisplayName("用户")]
  15. public string User { get; set; }
  16. /// <summary>
  17. /// 指定密码
  18. /// </summary>
  19. [DisplayName("自定义密码")]
  20. public bool? BatchInt { get; set; }
  21. public int type { get; set; }
  22. /// <summary>
  23. /// 自定义密码
  24. /// </summary>
  25. [RegularExpression(@"^(?=.*[0-9].*)(?=.*[A-Z].*)(?=.*[a-z].*).{8,99}$", ErrorMessage = "请输入包含大小写加数字的密码")]
  26. [DisplayName("自定义密码")]
  27. public string Password { get; set; }
  28. }
  29. }