Skip to content

Commit

Permalink
Merge pull request #113 from Hanaro-trip-together-bank/feature/trip-r…
Browse files Browse the repository at this point in the history
…eply

fix: 댓글조회 teamMemberIdx -> memberIdx 리턴
  • Loading branch information
mummhy0811 authored Jun 4, 2024
2 parents 2186660 + 733d462 commit 0ba6cd2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@Getter
public class TripReplyResDto {
private Long tripReplyIdx;
private Long teamMemberIdx;
private Long memberIdx;
private String teamMemberNickname;
private String tripReplyContent;
private LocalDateTime createdAt;
Expand All @@ -19,7 +19,7 @@ public class TripReplyResDto {
public TripReplyResDto(TripReply reply, String teamMemberNickname) {
this.teamMemberNickname = teamMemberNickname; //탈퇴한 멤버일 경우, 대체하기 위해
this.tripReplyIdx = reply.getTripReplyIdx();
this.teamMemberIdx=reply.getTeamMember().getTeamMemberIdx();
this.memberIdx=reply.getTeamMember().getMember().getMemberIdx();
this.tripReplyContent=reply.getTripReplyContent();
this.createdAt=reply.getCreatedAt();
this.lastModifiedAt=reply.getLastModifiedAt();
Expand Down

0 comments on commit 0ba6cd2

Please sign in to comment.