From 182bbc142f6eb6c1bc859abc2bb53cb8b7c24687 Mon Sep 17 00:00:00 2001 From: choejieun Date: Wed, 16 Oct 2024 11:21:25 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20WalkRecordMapper=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20buddyIds=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit related to : #38 --- .../buddyguard/mybuddyguard/walk/mapper/WalkRecordMapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/main/java/buddyguard/mybuddyguard/walk/mapper/WalkRecordMapper.java b/be/src/main/java/buddyguard/mybuddyguard/walk/mapper/WalkRecordMapper.java index 948bf71c..4ffbbf4c 100644 --- a/be/src/main/java/buddyguard/mybuddyguard/walk/mapper/WalkRecordMapper.java +++ b/be/src/main/java/buddyguard/mybuddyguard/walk/mapper/WalkRecordMapper.java @@ -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()) // 산책 시작 시간