lrj
2 天以前 8337c34fcc761d07acaad796d10f3e12e9bbe2d1
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,12 @@
    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 获取,target_type=5)
    private PlayerUserInfoResponse userInfo; // 关联的用户信息,包含头像
    // Constructors
    public PlayerInfoResponse() {}
@@ -23,9 +29,21 @@
    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 PlayerUserInfoResponse getUserInfo() { return userInfo; }
    public void setUserInfo(PlayerUserInfoResponse userInfo) { this.userInfo = userInfo; }
}