parent
84e0b906bb
commit
d511505606
@ -0,0 +1,14 @@
|
||||
package fr.iut.sciencequest.model.dto.question
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
class QuestionListDTO {
|
||||
@SerialName("_embedded")
|
||||
val questions: List<QuestionWithSimpleResponseDTO>
|
||||
|
||||
constructor(questions: List<QuestionWithSimpleResponseDTO>) {
|
||||
this.questions = questions
|
||||
}
|
||||
}
|
Loading…
Reference in new issue