12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel.SystemView
- {
- public partial class BatchInitPasswordView
- {
- /// <summary>
- /// 用户
- /// </summary>
- [DisplayName("用户")]
- public string User { get; set; }
- /// <summary>
- /// 指定密码
- /// </summary>
- [DisplayName("自定义密码")]
- public bool? BatchInt { get; set; }
- public int type { get; set; }
- /// <summary>
- /// 自定义密码
- /// </summary>
- [RegularExpression(@"^(?=.*[0-9].*)(?=.*[A-Z].*)(?=.*[a-z].*).{8,99}$", ErrorMessage = "请输入包含大小写加数字的密码")]
- [DisplayName("自定义密码")]
- public string Password { get; set; }
- }
- }
|