package de.oaa.xxx.games.history;

import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

public record GameHistoryDTO(
        UUID historyId,
        GameType gameType,
        LocalDateTime startTime,
        LocalDateTime endTime,
        String gameName,
        long durationMinutes,
        List<ParticipantDTO> participants
) {
    public record ParticipantDTO(UUID userId, GameRole role) {}
}
