From 87c4806000ae2913bc1defa5d2e305ead13b2d55 Mon Sep 17 00:00:00 2001 From: jyk1029 Date: Tue, 23 Jan 2024 17:48:22 +0900 Subject: [PATCH] update :: feed details dto --- .../feed/presentation/dto/response/FeedDetailsResponse.kt | 3 +++ .../boheom/domain/feed/service/QueryFeedDetailsService.kt | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/response/FeedDetailsResponse.kt b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/response/FeedDetailsResponse.kt index e1b756b..5349318 100644 --- a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/response/FeedDetailsResponse.kt +++ b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/response/FeedDetailsResponse.kt @@ -1,5 +1,6 @@ package com.example.boheom.domain.feed.presentation.dto.response +import java.time.LocalDate import java.time.LocalDateTime import java.util.UUID @@ -8,6 +9,8 @@ data class FeedDetailsResponse( val title: String, val content: String, val username: String, + val startDay: LocalDate, + val endDay: LocalDate, val createdAt: LocalDateTime, val tags: List, val view: Int, diff --git a/src/main/kotlin/com/example/boheom/domain/feed/service/QueryFeedDetailsService.kt b/src/main/kotlin/com/example/boheom/domain/feed/service/QueryFeedDetailsService.kt index 9373ada..7715135 100644 --- a/src/main/kotlin/com/example/boheom/domain/feed/service/QueryFeedDetailsService.kt +++ b/src/main/kotlin/com/example/boheom/domain/feed/service/QueryFeedDetailsService.kt @@ -28,6 +28,8 @@ class QueryFeedDetailsService( feed.title, feed.content, feed.user.nickname, + feed.startDay, + feed.endDay, feed.createdAt, tags, feed.view,