From 93eb6b470773bc49ea6e1a9d4cbd914eb95d525b Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期二, 30 九月 2025 17:38:04 +0800 Subject: [PATCH] feat: 完善比赛晋级功能并清理测试文件 --- backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java b/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java index ea7ee50..cb88e4a 100644 --- a/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java +++ b/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java @@ -1,5 +1,7 @@ package com.rongyichuang.player.dto.response; +import com.rongyichuang.common.dto.response.MediaResponse; + /** * 瀛﹀憳淇℃伅鍝嶅簲 */ @@ -7,8 +9,13 @@ private Long id; private String name; private String phone; + private Integer gender; // 鎬у埆 + private String birthday; // 鍑虹敓鏃ユ湡 + private String education; // 瀛﹀巻 + private String introduction; // 涓汉浠嬬粛 private String description; // 绠�浠� - private String avatarUrl; // 澶村儚URL锛堜粠 t_media 鑾峰彇锛屼娇鐢� MediaTargetType.STUDENT_AVATAR锛屽�间负6锛� + private String avatarUrl; // 澶村儚URL锛堜粠 t_media 鑾峰彇锛屼娇鐢� MediaTargetType.USER_AVATAR锛屽�间负7锛� + private MediaResponse avatar; // 澶村儚Media瀵硅薄 // Constructors public PlayerInfoResponse() {} @@ -23,9 +30,24 @@ public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } + public Integer getGender() { return gender; } + public void setGender(Integer gender) { this.gender = gender; } + + public String getBirthday() { return birthday; } + public void setBirthday(String birthday) { this.birthday = birthday; } + + public String getEducation() { return education; } + public void setEducation(String education) { this.education = education; } + + public String getIntroduction() { return introduction; } + public void setIntroduction(String introduction) { this.introduction = introduction; } + public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getAvatarUrl() { return avatarUrl; } public void setAvatarUrl(String avatarUrl) { this.avatarUrl = avatarUrl; } + + public MediaResponse getAvatar() { return avatar; } + public void setAvatar(MediaResponse avatar) { this.avatar = avatar; } } \ No newline at end of file -- Gitblit v1.8.0