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:
Vu Tuan Minh
2025-09-26 01:25:55 +02:00
parent 2f4d87c487
commit b9d8925f1a
15 changed files with 161 additions and 249 deletions

View File

@@ -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 = "";