Changement d'interface graphique
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
package com.example.boidelov3;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class Question {
|
||||
private int id;
|
||||
private String question;
|
||||
private int gorger;
|
||||
private boolean distribution;
|
||||
private List<String> variante;
|
||||
private boolean recois;
|
||||
private boolean manches;
|
||||
private String arret; // mise à jour du type de données
|
||||
private int manchesRestantes; // pour le nombre de manches restantes
|
||||
private String arretMessage; // pour le message d'arrêt
|
||||
private String arretMessageManche; // pour le message d'arrêt pour les manches
|
||||
|
||||
// Constructeur par défaut
|
||||
public Question() {
|
||||
}
|
||||
|
||||
// Getters et setters pour tous les champs
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getQuestion() {
|
||||
return question;
|
||||
}
|
||||
|
||||
public void setQuestion(String question) {
|
||||
this.question = question;
|
||||
}
|
||||
|
||||
public int getGorger() {
|
||||
return gorger;
|
||||
}
|
||||
|
||||
public void setGorger(int gorger) {
|
||||
this.gorger = gorger;
|
||||
}
|
||||
|
||||
public boolean isDistribution() {
|
||||
return distribution;
|
||||
}
|
||||
|
||||
public void setDistribution(boolean distribution) {
|
||||
this.distribution = distribution;
|
||||
}
|
||||
|
||||
public List<String> getVariante() {
|
||||
return variante;
|
||||
}
|
||||
|
||||
public void setVariante(List<String> variante) {
|
||||
this.variante = variante;
|
||||
}
|
||||
|
||||
public boolean isRecois() {
|
||||
return recois;
|
||||
}
|
||||
|
||||
public void setRecois(boolean recois) {
|
||||
this.recois = recois;
|
||||
}
|
||||
|
||||
public boolean isManches() {
|
||||
return manches;
|
||||
}
|
||||
|
||||
public void setManches(boolean manches) {
|
||||
this.manches = manches;
|
||||
}
|
||||
|
||||
public String getArret() {
|
||||
return arret;
|
||||
}
|
||||
|
||||
public void setArret(String arret) {
|
||||
this.arret = arret;
|
||||
}
|
||||
|
||||
public int getManchesRestantes() {
|
||||
return manchesRestantes;
|
||||
}
|
||||
|
||||
public void setManchesRestantes(int manchesRestantes) {
|
||||
this.manchesRestantes = manchesRestantes;
|
||||
}
|
||||
|
||||
public String getArretMessage() {
|
||||
return arretMessage;
|
||||
}
|
||||
|
||||
public void setArretMessage(String arretMessage) {
|
||||
this.arretMessage = arretMessage;
|
||||
}
|
||||
public String getArretMessageManche() {
|
||||
return arretMessageManche;
|
||||
}
|
||||
|
||||
public void setArretMessageManche(String arretMessageManche) {
|
||||
this.arretMessageManche = arretMessageManche;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user