Commit ddfd8f24 authored by hongguangwu's avatar hongguangwu

手机号码必填

parent 77d3af0e
...@@ -141,6 +141,7 @@ public class TEmployeeInfo extends BaseEntity { ...@@ -141,6 +141,7 @@ public class TEmployeeInfo extends BaseEntity {
* 手机号码 * 手机号码
*/ */
@Schema(description = "手机号码") @Schema(description = "手机号码")
@NotNull( message = "手机号码不可为空")
@Size(max = 11, message = "手机号码不可超过11位") @Size(max = 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