feat: club filter

This commit is contained in:
2024-07-16 23:16:46 +02:00
parent f297ae557b
commit edcda185db
6 changed files with 54 additions and 25 deletions

View File

@@ -17,13 +17,12 @@ public class SimpleClubModel {
String name;
String country;
String shieldURL;
Long no_affiliation;
public static SimpleClubModel fromModel(ClubModel model) {
if (model == null)
return null;
return new SimpleClubModel(model.getId(), model.getName(), model.getCountry(),
"/api/club/" + model.getClubId() + "/logo", model.getNo_affiliation());
"/api/club/" + model.getClubId() + "/logo");
}
}