diff --git a/dms-core/src/main/kotlin/team/aliens/dms/domain/outing/service/GetOutingServiceImpl.kt b/dms-core/src/main/kotlin/team/aliens/dms/domain/outing/service/GetOutingServiceImpl.kt index 33b9052f2..70b19f62e 100644 --- a/dms-core/src/main/kotlin/team/aliens/dms/domain/outing/service/GetOutingServiceImpl.kt +++ b/dms-core/src/main/kotlin/team/aliens/dms/domain/outing/service/GetOutingServiceImpl.kt @@ -14,7 +14,6 @@ import team.aliens.dms.domain.outing.spi.QueryOutingTypePort import team.aliens.dms.domain.outing.spi.vo.CurrentOutingApplicationVO import team.aliens.dms.domain.outing.spi.vo.OutingCompanionDetailsVO import team.aliens.dms.domain.outing.spi.vo.OutingHistoryVO - import java.time.DayOfWeek import java.time.LocalDate import java.util.UUID diff --git a/dms-core/src/main/kotlin/team/aliens/dms/domain/student/dto/StudentResponse.kt b/dms-core/src/main/kotlin/team/aliens/dms/domain/student/dto/StudentResponse.kt index 43167b2e6..0cdde9a56 100644 --- a/dms-core/src/main/kotlin/team/aliens/dms/domain/student/dto/StudentResponse.kt +++ b/dms-core/src/main/kotlin/team/aliens/dms/domain/student/dto/StudentResponse.kt @@ -1,5 +1,8 @@ package team.aliens.dms.domain.student.dto +import com.fasterxml.jackson.annotation.JsonCreator +import com.fasterxml.jackson.annotation.JsonIgnoreProperties +import com.fasterxml.jackson.annotation.JsonProperty import team.aliens.dms.domain.manager.spi.vo.StudentWithTag import team.aliens.dms.domain.student.model.Sex import team.aliens.dms.domain.student.model.Student @@ -46,17 +49,17 @@ data class StudentNameResponse( val name: String ) -data class StudentDetailsResponse( - val id: UUID, - val name: String, - val gcn: String, - val profileImageUrl: String, - val sex: Sex? = null, - val bonusPoint: Int? = null, - val minusPoint: Int? = null, - val roomNumber: String? = null, - val roomMates: List? = null, - val tags: List? = null +data class StudentDetailsResponse @JsonCreator constructor( + @JsonProperty("id") val id: UUID, + @JsonProperty("name") val name: String, + @JsonProperty("gcn") val gcn: String, + @JsonProperty("profileImageUrl") val profileImageUrl: String, + @JsonProperty("sex") val sex: Sex? = null, + @JsonProperty("bonusPoint") val bonusPoint: Int? = null, + @JsonProperty("minusPoint") val minusPoint: Int? = null, + @JsonProperty("roomNumber") val roomNumber: String? = null, + @JsonProperty("roomMates") val roomMates: List? = null, + @JsonProperty("tags") val tags: List? = null ) { data class RoomMate( val id: UUID,