Files
swiss-backend/src/main/java/nl/connectedit/swiss/dto/TournamentDto.java
Michel ten Voorde 2a213c831a
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
Moved logic to backend
2025-09-25 23:12:39 +02:00

44 lines
878 B
Java

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<EventDto> events;
private List<TournamentPlayerDto> tournamentPlayers;
private Long maxEvents;
private List<Float> costsPerEvent;
private Long courts;
private Boolean active;
private List<TournamentPlayerSubstitutionDto> substitutions;
private List<Long> playersPlaying;
private List<Long> playersCounting;
private List<Long> playersAvailable;
}