Group capacity response places overload

This commit is contained in:
BuildTools
2020-11-30 12:35:35 +01:00
parent 593084aeba
commit 25e9571a06
3 changed files with 50 additions and 2 deletions

View File

@ -23,6 +23,10 @@ public class GroupWithCapacityResponse extends GroupDefaultResponse {
this(assignment.getGroup());
}
public GroupWithCapacityResponse(Assignment assignment, int takenPlaces) {
this(assignment.getGroup(), takenPlaces);
}
public int getCapacity() {
return capacity;
}