이벤트 조회
- 시작날짜, 종료날짜 추가
This commit is contained in:
@@ -3,6 +3,7 @@ package kr.co.vividnext.sodalive.event
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import com.querydsl.core.annotations.QueryProjection
|
||||
import java.time.LocalDateTime
|
||||
|
||||
data class GetEventResponse(
|
||||
@JsonProperty("totalCount") val totalCount: Int,
|
||||
@@ -16,6 +17,8 @@ data class EventItem @QueryProjection constructor(
|
||||
@JsonProperty("thumbnailImageUrl") var thumbnailImageUrl: String,
|
||||
@JsonProperty("detailImageUrl") var detailImageUrl: String? = null,
|
||||
@JsonProperty("popupImageUrl") var popupImageUrl: String? = null,
|
||||
@JsonProperty("startDate") var startDate: LocalDateTime,
|
||||
@JsonProperty("endDate") var endDate: LocalDateTime,
|
||||
@JsonProperty("link") val link: String? = null,
|
||||
@JsonProperty("isAdult") val isAdult: Boolean? = null,
|
||||
@JsonProperty("isPopup") val isPopup: Boolean
|
||||
|
||||
Reference in New Issue
Block a user