feat: club end main

This commit is contained in:
2024-07-14 13:24:02 +02:00
parent e1a8c90f3e
commit 6a21bd4735
12 changed files with 364 additions and 249 deletions

View File

@@ -21,13 +21,12 @@ public class SimpleClub {
private String clubId;
private String name;
private String country;
private String shieldURL;
private Map<Contact, String> contact;
private String training_location;
private String training_day_time;
private String contact_intern;
private String RNA;
private String SIRET;
private Long SIRET;
private String no_affiliation;
private boolean international;
private HashMap<String, String> contactMap = null;
@@ -41,7 +40,6 @@ public class SimpleClub {
.clubId(model.getClubId())
.name(model.getName())
.country(model.getCountry())
.shieldURL(model.getShieldURL())
.contact(model.getContact())
.training_location(model.getTraining_location())
.training_day_time(model.getTraining_day_time())

View File

@@ -3,8 +3,10 @@ package fr.titionfire.ffsaf.rest.from;
import jakarta.ws.rs.FormParam;
import jakarta.ws.rs.core.MediaType;
import lombok.Getter;
import lombok.ToString;
import org.jboss.resteasy.reactive.PartType;
@ToString
@Getter
public class FullClubForm {
@FormParam("id")
@@ -13,6 +15,30 @@ public class FullClubForm {
@FormParam("name")
private String name = null;
@FormParam("country")
private String country = null;
@FormParam("contact")
private String contact = null;
@FormParam("training_location")
private String training_location = null;
@FormParam("training_day_time")
private String training_day_time = null;
@FormParam("contact_intern")
private String contact_intern = null;
@FormParam("rna")
private String rna = null;
@FormParam("siret")
private Long siret = null;
@FormParam("international")
private boolean international = false;
@FormParam("status")
@PartType(MediaType.APPLICATION_OCTET_STREAM)
private byte[] status = new byte[0];