add list user and part of user page
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
package fr.titionfire.ffsaf.data.model;
|
||||
|
||||
import fr.titionfire.ffsaf.utils.Contact;
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.*;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@RegisterForReflection
|
||||
@@ -25,4 +26,25 @@ public class ClubModel {
|
||||
String country;
|
||||
|
||||
String shieldURL;
|
||||
|
||||
//@Enumerated(EnumType.STRING)
|
||||
@ElementCollection
|
||||
@CollectionTable(name = "club_contact_mapping",
|
||||
joinColumns = {@JoinColumn(name = "club_id", referencedColumnName = "id")})
|
||||
@MapKeyColumn(name = "contact_type")
|
||||
Map<Contact, String> contact;
|
||||
|
||||
String training_location;
|
||||
|
||||
String training_day_time;
|
||||
|
||||
String contact_intern;
|
||||
|
||||
String RNA;
|
||||
|
||||
String SIRET;
|
||||
|
||||
String no_affiliation;
|
||||
|
||||
boolean international;
|
||||
}
|
||||
|
||||
@@ -2,29 +2,31 @@ package fr.titionfire.ffsaf.data.model;
|
||||
|
||||
import fr.titionfire.ffsaf.utils.Categorie;
|
||||
import fr.titionfire.ffsaf.utils.Genre;
|
||||
import fr.titionfire.ffsaf.utils.GradeArbitrage;
|
||||
import fr.titionfire.ffsaf.utils.RoleAsso;
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.*;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@RegisterForReflection
|
||||
|
||||
@Entity
|
||||
@Table(name = "comb")
|
||||
public class CombModel {
|
||||
@Table(name = "membre")
|
||||
public class MembreModel {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String lname = "";
|
||||
String fname = "";
|
||||
String lname;
|
||||
String fname;
|
||||
|
||||
Categorie categorie;
|
||||
|
||||
@@ -34,7 +36,17 @@ public class CombModel {
|
||||
|
||||
Genre genre;
|
||||
|
||||
int licence = 0;
|
||||
int licence;
|
||||
|
||||
String country = "fr";
|
||||
String country;
|
||||
|
||||
Date birth_date;
|
||||
|
||||
String email;
|
||||
|
||||
RoleAsso role;
|
||||
|
||||
GradeArbitrage grade_arbitrage;
|
||||
|
||||
String url_photo;
|
||||
}
|
||||
Reference in New Issue
Block a user