parent
b7f005c3e6
commit
1faa666b6d
@ -0,0 +1,9 @@
|
||||
package fr.iut.sciencequest.model.dto
|
||||
|
||||
import kotlinx.serialization.Serializable;
|
||||
|
||||
@Serializable
|
||||
data class DifficulteDTO (
|
||||
val id: Int,
|
||||
val libelle: String
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
package fr.iut.sciencequest.model.dto
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable;
|
||||
|
||||
@Serializable
|
||||
data class ScientifiqueDTO (
|
||||
val id: Int,
|
||||
val nom: String,
|
||||
val prenom: String,
|
||||
val photo: String,
|
||||
val descriptif: String,
|
||||
@SerialName("ratiotrouve")
|
||||
val ratioTrouve: Float,
|
||||
val sexe: Char,
|
||||
val difficulte: DifficulteDTO
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
package fr.iut.sciencequest.model.dto
|
||||
|
||||
import kotlinx.serialization.Serializable;
|
||||
|
||||
@Serializable
|
||||
data class ThematiqueDTO (
|
||||
val id: Int,
|
||||
val libelle: String
|
||||
)
|
Loading…
Reference in new issue