feat: start affiliation system

This commit is contained in:
2024-02-05 21:42:50 +01:00
parent 2a59c22db6
commit 40427b8cfb
9 changed files with 403 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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;
@Getter
@ToString
public class AffiliationRequestForm {
@FormParam("name")
private String name = null;
@FormParam("siren")
private String siren = null;
@FormParam("rna")
private String rna = null;
@FormParam("adresse")
private String adresse = null;
@FormParam("status")
@PartType(MediaType.APPLICATION_OCTET_STREAM)
private byte[] status = new byte[0];
@FormParam("logo")
@PartType(MediaType.APPLICATION_OCTET_STREAM)
private byte[] logo = new byte[0];
}