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

import java.util.List;

import com.ecep.contract.CompanyFileType;
import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.model.Company;
import com.ecep.contract.model.CompanyFile;

public interface CompanyFileRepository extends MyRepository<CompanyFile, Integer> {

    List<CompanyFile> findByCompany(Company company);

    List<CompanyFile> findByCompanyAndType(Company company, CompanyFileType type);
}