package br.gov.sigefp.rh.repository;

import br.gov.sigefp.rh.domain.EarningType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;
import java.util.UUID;

@Repository
public interface EarningTypeRepository extends JpaRepository<EarningType, UUID> {
    Optional<EarningType> findByCode(String code);
}
