|
|
@@ -3,6 +3,7 @@ package com.zhongshu.card.client.model.org;
|
|
|
import com.zhongshu.card.client.type.Sex;
|
|
|
import com.zhongshu.card.client.type.UserType;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import jakarta.validation.constraints.NotEmpty;
|
|
|
import jakarta.validation.constraints.Size;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
@@ -20,6 +21,7 @@ import org.hibernate.internal.build.AllowPrintStacktrace;
|
|
|
public class RegisterUserAccountParam {
|
|
|
|
|
|
@Schema(description = "用户手机号")
|
|
|
+ @NotEmpty(message = "phone不能为空")
|
|
|
private String phone;
|
|
|
|
|
|
@Schema(description = "昵称")
|
|
|
@@ -29,7 +31,6 @@ public class RegisterUserAccountParam {
|
|
|
private String realName;
|
|
|
|
|
|
@Schema(description = "证件号码")
|
|
|
-
|
|
|
private String cardNumber;
|
|
|
|
|
|
@Schema(description = "学号/工号")
|