Skip to content

Commit

Permalink
Merge pull request #103 from aelimited/feature/#102-clubResponse
Browse files Browse the repository at this point in the history
[FIX] #102 - clubResponse에 club detailedIntroduction 추가
  • Loading branch information
aelimited authored Jun 10, 2024
2 parents 2922a89 + 3e08d00 commit 8045a15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ClubSearchResponse toClubResponses(Club club, Member member) {
return ClubSearchResponse.builder()
.id(club.getId())
.title(club.getTitle())
.introduction(club.getIntroduction())
.detailIntroduction(club.getDetailedIntroduction())
.clubType(club.getCategory().getClubCategoryName())
.recruitCount(club.getRecruitCount())
.memberId(member.getId()) //소모임을 생성함 멤버의 아이디
Expand All @@ -39,6 +39,7 @@ public ClubSearchResponse toClubResponses(Club club, Member member, boolean like
.id(club.getId())
.title(club.getTitle())
.introduction(club.getIntroduction())
.detailIntroduction(club.getDetailedIntroduction())
.clubType(club.getCategory().getClubCategoryName())
.recruitCount(club.getRecruitCount())
.memberId(member.getId()) //소모임을 생성함 멤버의 아이디
Expand Down Expand Up @@ -79,6 +80,7 @@ public ClubSearchResponse toClubResponse(Club club, Member member, List<ClubMemb
.id(club.getId())
.title(club.getTitle())
.introduction(club.getIntroduction())
.detailIntroduction(club.getDetailedIntroduction())
.clubType(club.getCategory().getClubCategoryName())
.recruitCount(club.getRecruitCount())
.memberId(member.getId())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public record ClubSearchResponse(
String profileImage,
String title,
String introduction,
String detailIntroduction,
String clubAccessibility,
String clubThumbnail,
String clubType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public ClubBoardResponse toClubBoardResponse(ClubNotice clubNotice, MemberDetail
.title(clubNotice.getTitle())
.content(clubNotice.getContent())
.type(clubNotice.getType())
.noticeId(clubNotice.getId())
.clubMemberId(member.getId())
.clubMemberName(member.getName())
.clubMemberThumbnail(member.getProfileImage())
Expand All @@ -49,7 +48,6 @@ public ClubBoardResponse toClubBoardResponse(
.title(clubNotice.getTitle())
.content(clubNotice.getContent())
.type(clubNotice.getType())
.noticeId(clubNotice.getId())
.clubMemberId(member.getId())
.clubMemberName(member.getName())
.clubMemberThumbnail(member.getProfileImage())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@Builder
public record ClubBoardResponse (
Long id,
Long noticeId,
String title,
String content,
NotificationType type,
Expand Down

0 comments on commit 8045a15

Please sign in to comment.