Merge branch 'Android' of https://codefirst.iut.uca.fr/git/tom.biard/ScienceQuest into Android
Conflitpull/24/head
commit
33b1efa908
@ -0,0 +1,35 @@
|
||||
package fr.iut.sciencequest.stub
|
||||
|
||||
import fr.iut.sciencequest.model.dto.ScientifiqueDTO
|
||||
import fr.iut.sciencequest.model.metier.Scientifique
|
||||
|
||||
object StubScientifique1: ScientifiqueDTO (
|
||||
id = 1,
|
||||
descriptif = "description",
|
||||
nom = "Jean",
|
||||
prenom = "Jean",
|
||||
photo = "photo",
|
||||
sexe = 'H',
|
||||
difficulteId = 1,
|
||||
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
|
||||
}
|
Loading…
Reference in new issue