forked from tom.biard/ScienceQuest
parent
1bad2c9329
commit
afa20b627d
@ -0,0 +1,11 @@
|
||||
package fr.iut.sciencequest.model.metier
|
||||
|
||||
class Difficulte {
|
||||
val id: Int
|
||||
val libelle: String
|
||||
|
||||
constructor(id: Int, libelle: String) {
|
||||
this.id = id
|
||||
this.libelle = libelle
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package fr.iut.sciencequest.model.metier
|
||||
|
||||
class Scientifique {
|
||||
val id: Int
|
||||
val nom: String
|
||||
val prenom: String
|
||||
val photo: String
|
||||
val descriptif: String
|
||||
val ratioTrouve: Float
|
||||
val sexe: Char
|
||||
val difficulte: Difficulte
|
||||
|
||||
constructor(id: Int, nom: String, prenom: String, photo: String, descriptif: String, ratioTrouve: Float, sexe: Char, difficulte: Difficulte){
|
||||
this.id = id
|
||||
this.nom = nom
|
||||
this.prenom = prenom
|
||||
this.photo = photo
|
||||
this.descriptif = descriptif
|
||||
this.ratioTrouve = ratioTrouve
|
||||
this.sexe = sexe
|
||||
this.difficulte = difficulte
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package fr.iut.sciencequest.model.metier
|
||||
|
||||
class Thematique {
|
||||
val id: Int
|
||||
val libelle: String
|
||||
constructor(id: Int, libelle: String) {
|
||||
this.id = id
|
||||
this.libelle = libelle
|
||||
}
|
||||
}
|
Loading…
Reference in new issue