lrj
昨天 93eb6b470773bc49ea6e1a9d4cbd914eb95d525b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.rongyichuang.player.dto.response;
 
import com.rongyichuang.common.dto.response.MediaResponse;
 
/**
 * 学员信息响应
 */
public class PlayerInfoResponse {
    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.USER_AVATAR,值为7)
    private MediaResponse avatar; // 头像Media对象
 
    // Constructors
    public PlayerInfoResponse() {}
 
    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
 
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
 
    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; }
}