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

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ecep.contract.CustomerFileType;
import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.ds.customer.model.CompanyCustomer;
import com.ecep.contract.ds.customer.model.CompanyCustomerFile;

@Repository
public interface CompanyCustomerFileRepository extends MyRepository<CompanyCustomerFile, Integer>  {

    List<CompanyCustomerFile> findAllByCustomer(CompanyCustomer companyCustomer);

    List<CompanyCustomerFile> findAllByCustomerAndType(CompanyCustomer customer, CustomerFileType type);
}