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

import java.util.Optional;

import org.springframework.stereotype.Repository;

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

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

    Optional<ContractKind> findByName(String name);
}
