wip: club
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user