| | |
| | | package com.rongyichuang.player.dto.response; |
| | | |
| | | import com.rongyichuang.common.dto.response.MediaResponse; |
| | | |
| | | /** |
| | | * 学员信息响应 |
| | | */ |
| | |
| | | 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() {} |
| | |
| | | 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; } |
| | | } |