|
|
@@ -1,5 +1,7 @@
|
|
|
package com.ym.mec.biz.dal.dto;
|
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
/**
|
|
|
* @Author Joburgess
|
|
|
* @Date 2020.11.10
|
|
|
@@ -8,6 +10,8 @@ public class StudentCompetitionRankingDto {
|
|
|
|
|
|
private Long competitionId;
|
|
|
|
|
|
+ private Integer prizeLevel;
|
|
|
+
|
|
|
private String username;
|
|
|
|
|
|
private String pictureUrl;
|
|
|
@@ -15,12 +19,21 @@ public class StudentCompetitionRankingDto {
|
|
|
public StudentCompetitionRankingDto() {
|
|
|
}
|
|
|
|
|
|
- public StudentCompetitionRankingDto(Long competitionId, String username, String pictureUrl) {
|
|
|
+ public StudentCompetitionRankingDto(Long competitionId, Integer prizeLevel, String username, String pictureUrl) {
|
|
|
this.competitionId = competitionId;
|
|
|
+ this.prizeLevel = prizeLevel;
|
|
|
this.username = username;
|
|
|
this.pictureUrl = pictureUrl;
|
|
|
}
|
|
|
|
|
|
+ public Integer getPrizeLevel() {
|
|
|
+ return prizeLevel;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPrizeLevel(Integer prizeLevel) {
|
|
|
+ this.prizeLevel = prizeLevel;
|
|
|
+ }
|
|
|
+
|
|
|
public Long getCompetitionId() {
|
|
|
return competitionId;
|
|
|
}
|