Skip to content

Commit

Permalink
feat: ranking구현
Browse files Browse the repository at this point in the history
  • Loading branch information
nyeroni committed Oct 7, 2024
1 parent ddd86ea commit 4caa7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ public class UniversityRankingResponse {

private String universityName;
private String logo;
private String category;
private int rank;
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ public List<RankingResponse> getAllRankings() {
}

private RankingResponse convertToRankingResponse(Ranking ranking) {
// 대학 랭킹 응답 생성

UniversityRankingResponse universityRankingResponse = new UniversityRankingResponse(
ranking.getUniversityName(),
ranking.getLogo(),
ranking.getRankNum()
);


return new RankingResponse(
ranking.getRankingType().getDisplayName(),
ranking.getRankingType().getFullName(),
Expand Down

0 comments on commit 4caa7d6

Please sign in to comment.