package at.procon.eventhub.processing.eventprocessing.validation;

import java.util.List;

public record RuntimeMixedSourceEvidencePartitionValidationDto(
        String partitionKey,
        String status,
        int directDriverEventCount,
        int attachedVehicleEvidenceEventCount,
        int ignoredVehicleEvidenceEventCount,
        int mergedEventCount,
        int normalizedSupportEvidenceEventCount,
        int unchangedEventCount,
        int supportGeoEventCount,
        boolean partitionDebugPresent,
        List<String> notes,
        List<String> warnings
) {
    public RuntimeMixedSourceEvidencePartitionValidationDto {
        notes = notes == null ? List.of() : List.copyOf(notes);
        warnings = warnings == null ? List.of() : List.copyOf(warnings);
    }
}
