package com.ecep.contract.ds.vendor.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.model.VendorApprovedFile;

@Repository
public interface VendorApprovedFileRepository extends MyRepository<VendorApprovedFile, Integer> {

    List<VendorApprovedFile> findAllByListId(int listId);

    VendorApprovedFile findByListIdAndFileName(int listId, String fileName);
}