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.CompanyVendorApprovedFile;

@Repository
public interface CompanyVendorApprovedFileRepository extends MyRepository<CompanyVendorApprovedFile, Integer> {

    List<CompanyVendorApprovedFile> findAllByListId(int listId);

    CompanyVendorApprovedFile findByListIdAndFileName(int listId, String fileName);
}