Skip to content

Commit

Permalink
🌨 :: 내 정보 보기에 classCandyCount 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Dec 29, 2023
1 parent 231abc6 commit cd72324
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ public class MyInfoResponse {

private String profileImageUrl;

private int classCandyCount;

public MyInfoResponse(User user) {
username = user.getUsername();
studentId = user.getStudentId();
profileImageUrl = user.getProfileImgUrl();
classCandyCount = user.getSchoolClass().getCandyCount();

}
}

0 comments on commit cd72324

Please sign in to comment.