package pl.firmatpp.kierowca.sync

import pl.firmatpp.kierowca.data.model.SyncScopeDto

data class DriverSyncHint(
    val scope: String,
    val date: String?,
    val routeId: String?,
    val version: Long,
    val checksum: String,
) {
    fun asScope(): SyncScopeDto =
        SyncScopeDto(
            scope = scope,
            date = date,
            routeId = routeId,
            version = version,
            checksum = checksum,
            computedAt = "",
        )
}
