Skip to content

Commit

Permalink
refactor: WalkRecordMapper 수정
Browse files Browse the repository at this point in the history
buddyIds 추가

related to : #38
  • Loading branch information
jieunjin committed Oct 16, 2024
1 parent d3149b2 commit 182bbc1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static WalkRecord toEntity(WalkRecordCreateRequest request, String pathIm
public static WalkRecordResponse toResponse(WalkRecord walkRecord) {
return WalkRecordResponse.builder()
.id(walkRecord.getId()) // 산책 기록 ID
.buddyIds((walkRecord.getBuddyIds()))
.startDate(walkRecord.getStartDate()) // 산책 시작 날짜
.endDate(walkRecord.getEndDate()) // 산책 종료 날짜
.startTime(walkRecord.getStartTime()) // 산책 시작 시간
Expand Down

0 comments on commit 182bbc1

Please sign in to comment.