Commit 2c306669 authored by hongguangwu's avatar hongguangwu

11

parent ddfd8f24
...@@ -142,7 +142,7 @@ public class TEmployeeInfo extends BaseEntity { ...@@ -142,7 +142,7 @@ public class TEmployeeInfo extends BaseEntity {
*/ */
@Schema(description = "手机号码") @Schema(description = "手机号码")
@NotNull( message = "手机号码不可为空") @NotNull( message = "手机号码不可为空")
@Size(max = 11, message = "手机号码不可超过11位") @Size(max = 11,min = 11, message = "手机号码只能11位")
private String empPhone; private String empPhone;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment