All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m49s
36 lines
911 B
Java
36 lines
911 B
Java
package fr.titionfire.ffsaf.rest.data;
|
|
|
|
import fr.titionfire.ffsaf.utils.Categorie;
|
|
import fr.titionfire.ffsaf.utils.Genre;
|
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.util.List;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@RegisterForReflection
|
|
public class RegisterRequestData {
|
|
private Long licence;
|
|
private String fname;
|
|
private String lname;
|
|
|
|
private Integer weight;
|
|
private Integer weightReal;
|
|
private Integer overCategory;
|
|
private boolean lockEdit = false;
|
|
private List<Long> categoriesInscrites;
|
|
|
|
// for guest registration only
|
|
private Long id = null;
|
|
private Categorie categorie = Categorie.CADET;
|
|
private Genre genre = Genre.NA;
|
|
private String club = null;
|
|
private String country = null;
|
|
|
|
private boolean quick = false;
|
|
}
|