로딩 속도를 위해 @Cacheable 적용 #50
@@ -1,5 +1,6 @@
|
|||||||
package kr.co.vividnext.sodalive.event
|
package kr.co.vividnext.sodalive.event
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty
|
import com.fasterxml.jackson.annotation.JsonProperty
|
||||||
import com.querydsl.core.annotations.QueryProjection
|
import com.querydsl.core.annotations.QueryProjection
|
||||||
|
|
||||||
@@ -8,6 +9,7 @@ data class GetEventResponse(
|
|||||||
@JsonProperty("eventList") val eventList: List<EventItem>
|
@JsonProperty("eventList") val eventList: List<EventItem>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
data class EventItem @QueryProjection constructor(
|
data class EventItem @QueryProjection constructor(
|
||||||
@JsonProperty("id") val id: Long,
|
@JsonProperty("id") val id: Long,
|
||||||
@JsonProperty("title") val title: String? = null,
|
@JsonProperty("title") val title: String? = null,
|
||||||
|
|||||||
Reference in New Issue
Block a user