package com.lingniu.ingest.vehiclestat;

import java.time.LocalDate;
import java.util.Optional;

public interface VehicleStatRepository {

    Optional<VehicleDailyStatResult> recordDailyMileageSample(String vin, LocalDate statDate, double totalMileageKm);

    Optional<VehicleDailyStatResult> findDailyStat(String vin, LocalDate statDate);
}
