Move to new server
This commit is contained in:
32
src/main/java/nl/connectedit/swiss/dto/TournamentDto.java
Normal file
32
src/main/java/nl/connectedit/swiss/dto/TournamentDto.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package nl.connectedit.swiss.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user