wip: club

This commit is contained in:
2024-07-11 23:02:29 +02:00
parent d5b4820c79
commit 76d7a28678
33 changed files with 1346 additions and 227 deletions

View File

@@ -17,11 +17,13 @@ public class SimpleClubModel {
String name;
String country;
String shieldURL;
String no_affiliation;
public static SimpleClubModel fromModel(ClubModel model) {
if (model == null)
return null;
return new SimpleClubModel(model.getId(), model.getName(), model.getCountry(), model.getShieldURL());
return new SimpleClubModel(model.getId(), model.getName(), model.getCountry(), model.getShieldURL(),
model.getNo_affiliation());
}
}