| | |
| | | public class PromotionCompetitionResponse { |
| | | |
| | | private Long id; |
| | | private Long competitionId; |
| | | private String competitionName; |
| | | private String stageName; |
| | | private Integer maxParticipants; |
| | |
| | | |
| | | public PromotionCompetitionResponse(Activity competition, Activity stage, Integer currentCount) { |
| | | this.id = stage.getId(); |
| | | this.competitionId = competition.getId(); |
| | | this.competitionName = competition.getName(); |
| | | this.stageName = stage.getName(); |
| | | this.maxParticipants = stage.getPlayerMax(); |
| | |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getCompetitionId() { |
| | | return competitionId; |
| | | } |
| | | |
| | | public void setCompetitionId(Long competitionId) { |
| | | this.competitionId = competitionId; |
| | | } |
| | | |
| | | public String getCompetitionName() { |
| | | return competitionName; |
| | | } |