diff --git a/src/main/kotlin/hs/kr/equus/feed/domain/notice/presentation/dto/response/QueryNoticeTitleResponse.kt b/src/main/kotlin/hs/kr/equus/feed/domain/notice/presentation/dto/response/QueryNoticeTitleResponse.kt index aaa19b2..955abc3 100644 --- a/src/main/kotlin/hs/kr/equus/feed/domain/notice/presentation/dto/response/QueryNoticeTitleResponse.kt +++ b/src/main/kotlin/hs/kr/equus/feed/domain/notice/presentation/dto/response/QueryNoticeTitleResponse.kt @@ -1,8 +1,10 @@ package hs.kr.equus.feed.domain.notice.presentation.dto.response +import java.time.LocalDateTime import java.util.UUID data class QueryNoticeTitleResponse( val id: UUID, - val title: String + val title: String, + val createAt: LocalDateTime ) diff --git a/src/main/kotlin/hs/kr/equus/feed/domain/notice/service/QueryNoticeTitleService.kt b/src/main/kotlin/hs/kr/equus/feed/domain/notice/service/QueryNoticeTitleService.kt index 084697e..e213f6c 100644 --- a/src/main/kotlin/hs/kr/equus/feed/domain/notice/service/QueryNoticeTitleService.kt +++ b/src/main/kotlin/hs/kr/equus/feed/domain/notice/service/QueryNoticeTitleService.kt @@ -17,7 +17,8 @@ class QueryNoticeTitleService( it -> QueryNoticeTitleResponse( id = it.id!!, - title = it.title + title = it.title, + it.createdAt ) } }