[Required(ErrorMessage = "证件号不能为空!")]
[RegularExpression(@"(^\d{18}$)|(^\d{15}$)|(^\d{17}x$)|(^\d{17}X$)", ErrorMessage = "请输入正确的身份证")]
[Remote("CanLinkMans", "OrderInfoWeb", AdditionalFields = "MemberId", ErrorMessage = "身份证已存在")]
public string IdentificationCardNo
{
get;
set;
}
[Required(ErrorMessage = "手机号不能为空!")]
[RegularExpression(@"^1[3|4|5|7|8][0-9]\d{8,8}$", ErrorMessage = "请输入正确的手机号")]
public string Mobile
{
get;
set;
}
身份证验证 手机号验证 身份证唯一验证 AdditionalFields 联合字段 验证返回Bool类型