package com.dbnt.sims.faRpt.repository;

import com.dbnt.sims.faRpt.model.FaRptFile;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;


public interface FaRptFileRepository extends JpaRepository<FaRptFile, FaRptFile.FaRptFileId> {
  List<FaRptFile> findByFaRptKey(Integer faRptKey);
  Optional<FaRptFile> findTopByFaRptKeyOrderByFileSeq(Integer faRptKey);

}
