feat: AffiliationCard
This commit is contained in:
@@ -21,7 +21,7 @@ public class AffiliationRequestModel {
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
long siren;
|
||||
long siret;
|
||||
String RNA;
|
||||
String address;
|
||||
|
||||
|
||||
@@ -53,6 +53,6 @@ public class ClubModel {
|
||||
|
||||
boolean international;
|
||||
|
||||
@OneToMany(mappedBy = "club", fetch = FetchType.EAGER)
|
||||
@OneToMany(mappedBy = "club", fetch = FetchType.LAZY)
|
||||
List<AffiliationModel> affiliations;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package fr.titionfire.ffsaf.data.repository;
|
||||
|
||||
import fr.titionfire.ffsaf.data.model.AffiliationModel;
|
||||
import io.quarkus.hibernate.reactive.panache.PanacheRepositoryBase;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
|
||||
@ApplicationScoped
|
||||
public class AffiliationRepository implements PanacheRepositoryBase<AffiliationModel, Long> {
|
||||
}
|
||||
Reference in New Issue
Block a user