package gc.mda.kcg.domain.sensor;

import org.springframework.data.jpa.repository.JpaRepository;

import java.time.Instant;
import java.util.List;

public interface SeismicEventRepository extends JpaRepository<SeismicEvent, Long> {
    boolean existsByUsgsId(String usgsId);
    List<SeismicEvent> findByEventTimeAfterOrderByEventTimeDesc(Instant since);
}
