Reponses
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user