로딩 속도를 위해 @Cacheable 적용 #50

Merged
klaus merged 9 commits from test into main 2023-10-17 09:31:09 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 1be91d0de4 - Show all commits

View File

@ -1,5 +1,6 @@
package kr.co.vividnext.sodalive.event
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import com.querydsl.core.annotations.QueryProjection
@ -8,6 +9,7 @@ data class GetEventResponse(
@JsonProperty("eventList") val eventList: List<EventItem>
)
@JsonIgnoreProperties(ignoreUnknown = true)
data class EventItem @QueryProjection constructor(
@JsonProperty("id") val id: Long,
@JsonProperty("title") val title: String? = null,