This commit is contained in:
张良(004796)
2024-01-18 10:50:48 +08:00
parent 2afafcf7e5
commit c8ba302411
4 changed files with 15 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ import java.time.LocalDateTime;
public class UserUpdateReq {
@Schema(description = "用户ID",accessMode = Schema.AccessMode.READ_ONLY)
private Long userId;
@Schema(description = "邀请人ID")
private Long inviteId;
@Schema(description = "城市")
private Integer cityId;
@Schema(description = "昵称")

View File

@@ -16,6 +16,9 @@ public class CurrentUserInfoVo {
@Schema(description = "用户ID")
private Long userId;
@Schema(description = "邀请人ID")
private Long inviteId;
/**
* 用户号/ID号
*/

View File

@@ -19,6 +19,9 @@ public class CurrentUserUpdateInfoVo implements Serializable {
*/
@Schema(description = "蜜瓜号")
private String usercode;
@Schema(description = "邀请人ID")
private Long inviteId;
/**
* 昵称
*/
@@ -49,6 +52,9 @@ public class CurrentUserUpdateInfoVo implements Serializable {
*/
@Schema(description = "生日")
private LocalDate birthday;
@Schema(description = "年龄")
private Integer age = 18;
/**
* 城市
*/