|
@@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.system.controller.admin.user.vo.profile;
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
+import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
import javax.validation.constraints.Email;
|
|
|
import javax.validation.constraints.Size;
|
|
@@ -21,6 +22,7 @@ public class UserProfileUpdateReqVO {
|
|
|
private String email;
|
|
|
|
|
|
@Schema(description = "手机号码", example = "15601691300")
|
|
|
+ @Length(min = 11, max = 11, message = "手机号长度必须 11 位")
|
|
|
private String mobile;
|
|
|
|
|
|
@Schema(description = "用户性别-参见 SexEnum 枚举类", example = "1")
|