From 1be91d0de4d00ab3415c1f4aea72885a2d59da02 Mon Sep 17 00:00:00 2001 From: Klaus Date: Tue, 17 Oct 2023 18:25:45 +0900 Subject: [PATCH] =?UTF-8?q?EventItem=20-=20Json=20=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=EC=97=90=EB=8A=94=20=EC=9E=88=EC=A7=80=EB=A7=8C=20DTO?= =?UTF-8?q?=EC=97=90=EB=8A=94=20Key=EA=B0=92=EC=9D=B4=20=EC=97=86=EB=8A=94?= =?UTF-8?q?=20=EA=B2=BD=EC=9A=B0=20=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/kr/co/vividnext/sodalive/event/GetEventResponse.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/event/GetEventResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/event/GetEventResponse.kt index 79d2b50..4e3b711 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/event/GetEventResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/event/GetEventResponse.kt @@ -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 ) +@JsonIgnoreProperties(ignoreUnknown = true) data class EventItem @QueryProjection constructor( @JsonProperty("id") val id: Long, @JsonProperty("title") val title: String? = null,