이벤트 조회
- 시작날짜, 종료날짜 추가
This commit is contained in:
@@ -123,6 +123,8 @@ class AudioContentMainService(
|
||||
it.event!!.detailImage
|
||||
},
|
||||
popupImageUrl = null,
|
||||
startDate = it.event!!.startDate,
|
||||
endDate = it.event!!.endDate,
|
||||
link = it.event!!.link,
|
||||
title = it.event!!.title,
|
||||
isPopup = false
|
||||
|
@@ -44,6 +44,8 @@ class EventQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Even
|
||||
event.thumbnailImage,
|
||||
event.detailImage,
|
||||
event.popupImage,
|
||||
event.startDate,
|
||||
event.endDate,
|
||||
event.link,
|
||||
event.isAdult,
|
||||
event.isPopup
|
||||
@@ -83,6 +85,8 @@ class EventQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Even
|
||||
event.thumbnailImage,
|
||||
event.detailImage,
|
||||
event.popupImage,
|
||||
event.startDate,
|
||||
event.endDate,
|
||||
event.link,
|
||||
event.isAdult,
|
||||
event.isPopup
|
||||
|
@@ -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