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

import java.util.Optional;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Repository;

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

@Lazy
@Repository
public interface BankRepository extends MyRepository<Bank, Integer> {
    Optional<Bank> findFirstByName(String name);
}
