feat: add keycloak account creation and club groupe set

This commit is contained in:
2024-01-28 23:47:30 +01:00
parent d84ec9e1b4
commit 978c055834
22 changed files with 422 additions and 24 deletions

View File

@@ -16,6 +16,7 @@ import java.util.Map;
public class ClubEntity {
private long id;
private String name;
private String clubId;
private String country;
private String shieldURL;
private Map<Contact, String> contact;
@@ -35,6 +36,7 @@ public class ClubEntity {
return ClubEntity.builder()
.id(model.getId())
.name(model.getName())
.clubId(model.getClubId())
.country(model.getCountry())
.shieldURL(model.getShieldURL())
.contact(model.getContact())
@@ -49,7 +51,7 @@ public class ClubEntity {
}
public ClubModel toModel () {
return new ClubModel(this.id, this.name, this.country, this.shieldURL, this.contact, this.training_location,
return new ClubModel(this.id, this.clubId, this.name, this.country, this.shieldURL, this.contact, this.training_location,
this.training_day_time, this.contact_intern, this.RNA, this.SIRET, this.no_affiliation,
this.international);
}