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 { /// /// 用户 /// [DisplayName("用户")] public string User { get; set; } /// /// 指定密码 /// [DisplayName("自定义密码")] public bool? BatchInt { get; set; } public int type { get; set; } /// /// 自定义密码 /// [RegularExpression(@"^(?=.*[0-9].*)(?=.*[A-Z].*)(?=.*[a-z].*).{8,99}$", ErrorMessage = "请输入包含大小写加数字的密码")] [DisplayName("自定义密码")] public string Password { get; set; } } }