修改bug#40441
This commit is contained in:
+2
-2
@@ -67,7 +67,7 @@ public class PayContactsManagement implements Serializable {
|
||||
@Excel(name = "手机号", width = 15)
|
||||
@ApiModelProperty(value = "手机号")
|
||||
@NotEmpty(message = "手机号不能为空!")
|
||||
@Pattern(regexp = "^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\\d{8}$",message = "手机号码格式错误")
|
||||
@Pattern(regexp = "^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\\d{8}$",message = "手机号格式错误")
|
||||
private String phone;
|
||||
/**邮箱*/
|
||||
@Excel(name = "邮箱", width = 15)
|
||||
@@ -85,7 +85,7 @@ public class PayContactsManagement implements Serializable {
|
||||
@Excel(name = "邮政编码", width = 15)
|
||||
@Size(min=6,max = 6,message = "邮政编码长度必须为6个字符")
|
||||
@ApiModelProperty(value = "邮政编码")
|
||||
@Pattern(regexp = "^[0-9]\\d{5}$",message = "邮编格式错误")
|
||||
@Pattern(regexp = "^[0-9]\\d{5}$",message = "邮政编码格式错误")
|
||||
@NotEmpty(message = "邮政编码不能为空!")
|
||||
private String postalCode;
|
||||
/**备注*/
|
||||
|
||||
Reference in New Issue
Block a user