package gc.mda.kcg.domain.analysis;

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

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

public interface VesselAnalysisResultRepository extends JpaRepository<VesselAnalysisResult, Long> {

    List<VesselAnalysisResult> findByAnalyzedAtAfter(Instant since);

    /** 가장 최근 analyzed_at 이후 결과 전체 (최신 분석 사이클) */
    List<VesselAnalysisResult> findByAnalyzedAtGreaterThanEqual(Instant since);
}
