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-zA-Z].*).{6,16}$", ErrorMessage = "请输入包含字母加数字的密码,6-16位")]
[DisplayName("自定义密码")]
[RegularExpression("^(?=.*?[0-9])(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[#?!@$%^&*-]).{8,}$", ErrorMessage = "密码须包含大小写英文、特殊字符、数字且长度大于或等于8位")]
public string Password { get; set; }
}
}