forked from tom.biard/ScienceQuest
parent
b25dc03a36
commit
96b9e10b86
@ -1,4 +1,21 @@
|
|||||||
package fr.iut.sciencequest.model.dto.ScientifiqueDTOs
|
package fr.iut.sciencequest.model.dto.ScientifiqueDTOs
|
||||||
|
|
||||||
class ScientifiqueListInfosDTO {
|
import kotlinx.serialization.SerialName
|
||||||
}
|
import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
|
@Serializable
|
||||||
|
open class ScientifiqueListInfosPageDTO(
|
||||||
|
@SerialName("totalElements")
|
||||||
|
val nbScientfiques: Int,
|
||||||
|
|
||||||
|
@SerialName("totalPages")
|
||||||
|
val nbPages: Int,
|
||||||
|
|
||||||
|
@SerialName("size")
|
||||||
|
val nbScientifiquesParPage: Int
|
||||||
|
)
|
||||||
|
|
||||||
|
@Serializable
|
||||||
|
open class ScientifiqueListInfosDTO (
|
||||||
|
val page: ScientifiqueListInfosPageDTO
|
||||||
|
)
|
Loading…
Reference in new issue