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

import java.util.Optional;

import com.ecep.contract.ds.MyRepository;
import com.ecep.contract.model.Company;
import com.ecep.contract.model.CompanyBankAccount;

public interface CompanyBankAccountRepository extends MyRepository<CompanyBankAccount, Integer> {

    Optional<CompanyBankAccount> findByCompanyAndAccount(Company company, String account);
}