feat: change certif type

This commit is contained in:
2024-07-19 15:24:58 +02:00
parent 47daa459e2
commit 3ccf880057
7 changed files with 30 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ public class SimpleLicence {
Long id;
Long membre;
int saison;
boolean certificate;
String certificate;
boolean validate;
public static SimpleLicence fromModel(LicenceModel model) {
@@ -25,7 +25,7 @@ public class SimpleLicence {
.id(model.getId())
.membre(model.getMembre().getId())
.saison(model.getSaison())
.certificate(model.isCertificate())
.certificate(model.getCertificate())
.validate(model.isValidate())
.build();
}

View File

@@ -17,7 +17,7 @@ public class LicenceForm {
private int saison;
@FormParam("certificate")
private boolean certificate;
private String certificate = null;
@FormParam("validate")
private boolean validate;