Newer
Older
Bauer Matthis
committed
package hdm.mi.sthbackend.model;
import lombok.Getter;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@Getter
Bauer Matthis
committed
public class BracketRound {
private final Logger log = LogManager.getLogger("BracketRound");
private final UUID bracketRoundId;
private final Map<UUID, Match> matches;
private final int round;
Bauer Matthis
committed
public BracketRound(int round){
this.bracketRoundId = UUID.randomUUID();
Bauer Matthis
committed
this.round = round;
this.matches = new HashMap<>();