-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[fix] #209 - apiIssue관련 정리 네이밍 관련 정리
- Loading branch information
Showing
9 changed files
with
119 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/main/java/gitbal/backend/api/mainPage/dto/MainPageUserDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
package gitbal.backend.api.mainPage.dto; | ||
|
||
|
||
import gitbal.backend.global.constant.Grade; | ||
|
||
public record MainPageUserDto(String username, long userscore, int rank) { | ||
public record MainPageUserDto(String username, String profileImg, Long userscore, int userRank) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/main/java/gitbal/backend/api/regionPage/dto/RegionListDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package gitbal.backend.api.regionPage.dto; | ||
|
||
|
||
public record RegionListDto(String regionlName, Long regionScore) { | ||
public record RegionListDto(String regionlName, Long regionScore, int regionRank) { | ||
|
||
public static RegionListDto of(String regionName, Long regionScore) { | ||
return new RegionListDto(regionName, regionScore); | ||
public static RegionListDto of(String regionName, Long regionScore, int regionRank) { | ||
return new RegionListDto(regionName, regionScore, regionRank); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/java/gitbal/backend/api/regionPage/dto/UserInfoByRegion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package gitbal.backend.api.regionPage.dto; | ||
|
||
public record UserInfoByRegion(String nickname, Long score ) { | ||
public record UserInfoByRegion(String username, String profileImg, Long userscore, int userRank) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/gitbal/backend/api/schoolPage/dto/UserInfoBySchool.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package gitbal.backend.api.schoolPage.dto; | ||
|
||
public record UserInfoBySchool(String nickname, Long score ) { | ||
public record UserInfoBySchool(String username, String profileImg, Long userscore, int userRank) { | ||
|
||
} |
Oops, something went wrong.