All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
44 lines
878 B
Java
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;
|
|
|
|
}
|