Skip to content

Commit

Permalink
BE: [feat] 크루 조회 시 아이디 반환 CSID-DGU#83
Browse files Browse the repository at this point in the history
  • Loading branch information
Seoyoung2222 committed Dec 3, 2024
1 parent 6a297b2 commit 3688228
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@AllArgsConstructor
public class CrewResponseDto {

private Long crewId;
private String profileImageUrl;
private String title;
private int memberCount;
Expand All @@ -21,6 +22,7 @@ public static CrewResponseDto from(Crew crew) {
.profileImageUrl(crew.getImages() != null ? crew.getImages().getImageUrl() : "")
.title(crew.getTitle())
.memberCount(crew.getCrewUsers().size())
.crewId(crew.getId())
.build();
}
}

0 comments on commit 3688228

Please sign in to comment.