package at.procon.dip.domain.time.repository;

import at.procon.dip.domain.time.entity.TimeSourceSystem;
import at.procon.dip.domain.time.entity.TimeSyncState;
import java.util.Optional;
import java.util.UUID;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TimeSyncStateRepository extends JpaRepository<TimeSyncState, UUID> {

    Optional<TimeSyncState> findBySourceSystemAndScopeKey(TimeSourceSystem sourceSystem, String scopeKey);
}
