From 8378e10192af1485ed01d46233b3c7efafdd60ff Mon Sep 17 00:00:00 2001 From: pricelees Date: Mon, 6 Oct 2025 16:53:43 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20Pending=20=EC=98=88=EC=95=BD?= =?UTF-8?q?=EC=8B=9C=20=EC=9D=BC=EC=A0=95=20=EA=B2=80=EC=A6=9D=EC=9D=84=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20ReservationService=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EA=B0=80=EC=A0=B8=EC=98=A4=EB=8A=94=20ScheduleSummaryResponse?= =?UTF-8?q?=EC=97=90=20holdExpiredAt=20=ED=95=84=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/sangdol/roomescape/schedule/web/ScheduleDto.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/service/src/main/kotlin/com/sangdol/roomescape/schedule/web/ScheduleDto.kt b/service/src/main/kotlin/com/sangdol/roomescape/schedule/web/ScheduleDto.kt index 9085c299..17da9b83 100644 --- a/service/src/main/kotlin/com/sangdol/roomescape/schedule/web/ScheduleDto.kt +++ b/service/src/main/kotlin/com/sangdol/roomescape/schedule/web/ScheduleDto.kt @@ -4,6 +4,7 @@ import com.sangdol.roomescape.schedule.business.domain.ScheduleOverview import com.sangdol.roomescape.schedule.infrastructure.persistence.ScheduleEntity import com.sangdol.roomescape.schedule.infrastructure.persistence.ScheduleStatus import com.sangdol.roomescape.theme.infrastructure.persistence.Difficulty +import java.time.Instant import java.time.LocalDate import java.time.LocalTime @@ -45,14 +46,16 @@ data class ScheduleSummaryResponse( val date: LocalDate, val time: LocalTime, val themeId: Long, - val status: ScheduleStatus + val status: ScheduleStatus, + val holdExpiredAt: Instant? = null ) fun ScheduleEntity.toSummaryResponse() = ScheduleSummaryResponse( date = this.date, time = this.time, themeId = this.themeId, - status = this.status + status = this.status, + holdExpiredAt = this.holdExpiredAt ) data class ScheduleOverviewResponse(