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

import java.util.Optional;

import org.springframework.stereotype.Repository;

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

@Repository
public interface CustomerCatalogRepository extends MyRepository<CustomerCatalog, Integer> {
    Optional<CustomerCatalog> findByCode(String code);

    Optional<CustomerCatalog> findByName(String name);
}
