dev #33
@ -32,6 +32,6 @@ public static SimpleCombModel fromModel(MembreModel model) {
|
|||||||
|
|
||||||
return new SimpleCombModel(model.getId(), model.getLname(), model.getFname(), model.getCategorie(),
|
return new SimpleCombModel(model.getId(), model.getLname(), model.getFname(), model.getCategorie(),
|
||||||
(model.getClub() == null) ? null : SimpleClubModel.fromModel(model.getClub()),
|
(model.getClub() == null) ? null : SimpleClubModel.fromModel(model.getClub()),
|
||||||
model.getGenre(), model.getLicence(), model.getCountry());
|
model.getGenre(), (model.getLicence() == null) ? -1 : model.getLicence(), model.getCountry());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user