Skip to content

Commit

Permalink
Merge pull request #205 from mash-up-kr/hotfix/add-schedule-type
Browse files Browse the repository at this point in the history
hotfix: 장소 응답 값 내 필드 추가
  • Loading branch information
thguss authored Oct 3, 2024
2 parents 916b4ed + 39fd624 commit d90e8b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class PlaceService(
ScheduleTypeGroupResponse(
scheduleId = scheduleId.getValue(),
scheduleName = schedule.name,
type = schedule.type,
places = places.map { place -> PlaceResponse(place = place) },
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.piikii.application.port.input.dto.response
import com.piikii.application.domain.generic.ThumbnailLinks
import com.piikii.application.domain.place.Origin
import com.piikii.application.domain.place.Place
import com.piikii.application.domain.schedule.ScheduleType
import io.swagger.v3.oas.annotations.media.Schema
import java.util.UUID

Expand Down Expand Up @@ -67,6 +68,8 @@ data class ScheduleTypeGroupResponse(
val scheduleId: Long?,
@field:Schema(description = "일정 이름", example = "술 2차")
val scheduleName: String,
@field:Schema(description = "스케줄 타입")
val type: ScheduleType,
@field:Schema(description = "해당 일정 타입에 속한 장소 목록")
val places: List<PlaceResponse>,
)

0 comments on commit d90e8b9

Please sign in to comment.