This commit is contained in:
trochas
2025-09-17 14:36:54 +02:00
parent 3ebbaaa983
commit 67b96ff9e4
15 changed files with 63 additions and 24 deletions

View File

@@ -1,29 +1,17 @@
package metier;
import java.util.ArrayList;
import jakarta.persistence.Id;
public abstract class Reponse {
@Id
private int id;
private String value;
private Boolean correct;
ArrayList<String> reponses;
public Reponse(){
}
public void setValue(String value){
this.value = value;
}
public String getValue(){
return this.value;
}
public boolean isCorrect(){
return this.correct;
}
public void setCorrect(Boolean correct){
this.correct = correct;
}
}