| | |
| | | private String name; |
| | | private String phone; |
| | | private String userType; // 主要角色类型:优先employee,然后judge,最后player |
| | | private String avatarUrl; // 用户头像URL |
| | | private EmployeeInfo employee; |
| | | private JudgeInfo judge; |
| | | private PlayerInfo player; |
| | |
| | | |
| | | public void setUserType(String userType) { |
| | | this.userType = userType; |
| | | } |
| | | |
| | | public String getAvatarUrl() { |
| | | return avatarUrl; |
| | | } |
| | | |
| | | public void setAvatarUrl(String avatarUrl) { |
| | | this.avatarUrl = avatarUrl; |
| | | } |
| | | |
| | | public EmployeeInfo getEmployee() { |
| | |
| | | private String name; |
| | | private String phone; |
| | | private String description; |
| | | private Integer auditState; // 审核状态:0-等待审核,1-审核通过,2-不通过 |
| | | |
| | | public PlayerInfo() {} |
| | | |
| | | public PlayerInfo(Long id, String name, String phone, String description, Integer auditState) { |
| | | public PlayerInfo(Long id, String name, String phone, String description) { |
| | | this.id = id; |
| | | this.name = name; |
| | | this.phone = phone; |
| | | this.description = description; |
| | | this.auditState = auditState; |
| | | } |
| | | |
| | | // Getters and Setters |
| | |
| | | |
| | | public void setDescription(String description) { |
| | | this.description = description; |
| | | } |
| | | |
| | | public Integer getAuditState() { |
| | | return auditState; |
| | | } |
| | | |
| | | public void setAuditState(Integer auditState) { |
| | | this.auditState = auditState; |
| | | } |
| | | } |
| | | } |