package gc.mda.kcg.domain.fleet.repository;

import gc.mda.kcg.domain.fleet.ParentReviewLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ParentReviewLogRepository extends JpaRepository<ParentReviewLog, Long> {
    Page<ParentReviewLog> findByGroupKeyOrderByCreatedAtDesc(String groupKey, Pageable pageable);
    Page<ParentReviewLog> findAllByOrderByCreatedAtDesc(Pageable pageable);
}
