package at.procon.eventhub.tachograph.dto.source;

import at.procon.eventhub.dto.CardSlot;
import at.procon.eventhub.dto.CardStatus;
import at.procon.eventhub.dto.DriverRefDto;
import at.procon.eventhub.dto.DrivingStatus;
import at.procon.eventhub.dto.EventLifecycle;
import at.procon.eventhub.dto.EventType;
import at.procon.eventhub.dto.VehicleRefDto;
import java.time.OffsetDateTime;
import java.util.Map;

public record TachographActivityDto(
        String tenantKey,
        String sourceKind,              // VEHICLE_UNIT or DRIVER_CARD
        String sourceInstanceKey,       // e.g. main-tachograph-db
        String tenantProviderSettingKey,
        String externalSourceEventId,
        OffsetDateTime occurredAt,
        OffsetDateTime receivedPartnerAt,
        DriverRefDto driverRef,
        VehicleRefDto vehicleRef,
        EventType activityType,
        EventLifecycle lifecycle,
        CardSlot cardSlot,
        CardStatus cardStatus,
        DrivingStatus drivingStatus,
        Map<String, Object> payload
) {
}
