Add Session.html and lombok, change property access into field access to lombok.
Tested add Session to user, add method UtilisateurDAO.addToSession Please rerun mvn clean install
This commit is contained in:
@@ -4,24 +4,18 @@ import java.util.ArrayList;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.PrimaryKeyJoinColumn;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@PrimaryKeyJoinColumn(name = "Choix_Id")
|
||||
public class Choix extends Reponse{
|
||||
ArrayList<String> choix;
|
||||
|
||||
public Choix() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ArrayList<String> getChoix() {
|
||||
return this.choix;
|
||||
}
|
||||
|
||||
public void setChoix(ArrayList<String> choix) {
|
||||
this.choix = choix;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String valHTML(){
|
||||
String res = "";
|
||||
|
||||
Reference in New Issue
Block a user