package nl.connectedit.swiss.dto; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Getter; import lombok.Setter; import nl.connectedit.swiss.domain.entity.TournamentPlayerSubstitution; import java.util.List; @Getter @Setter public class TournamentDto extends AbstractDto { private Long id; private String name; @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyyy") private String date; private String status; private List events; private List tournamentPlayers; private Long maxEvents; private List costsPerEvent; private Long courts; private Boolean active; private List substitutions; private List playersPlaying; private List playersCounting; private List playersAvailable; }