|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package fr.iut.sciencequest.stub
|
|
|
|
|
|
|
|
|
|
import fr.iut.sciencequest.model.dto.ScientifiqueDTO
|
|
|
|
|
import fr.iut.sciencequest.model.metier.Scientifique
|
|
|
|
|
|
|
|
|
|
object StubScientifique1: ScientifiqueDTO (
|
|
|
|
|
id = 1,
|
|
|
|
@ -13,4 +14,22 @@ object StubScientifique1: ScientifiqueDTO (
|
|
|
|
|
thematiqueId = 1,
|
|
|
|
|
ratioTrouve = 0f
|
|
|
|
|
)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
object StubScientifique2: ScientifiqueDTO (
|
|
|
|
|
id = 2,
|
|
|
|
|
descriptif = "autre description",
|
|
|
|
|
nom = "Jean2",
|
|
|
|
|
prenom = "Jean2",
|
|
|
|
|
photo = "photo2",
|
|
|
|
|
sexe = 'F',
|
|
|
|
|
difficulteId = 1,
|
|
|
|
|
thematiqueId = 1,
|
|
|
|
|
ratioTrouve = 0f
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
fun getScientifiqueListeStub(): List<ScientifiqueDTO>{
|
|
|
|
|
val liste = ArrayList<ScientifiqueDTO>()
|
|
|
|
|
liste.add(StubScientifique2)
|
|
|
|
|
liste.add(StubScientifique1)
|
|
|
|
|
return liste
|
|
|
|
|
}
|