package br.gov.sigefp.rh.repository;

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

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

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