package io.gmss.fiscad.repositories.infocad.parametre;

import io.gmss.fiscad.entities.infocad.parametre.TypePersonne;
import io.gmss.fiscad.enums.Categorie;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface TypePersonneRepository extends JpaRepository<TypePersonne, Long> {
    Optional<TypePersonne> findFirstByCategorie(Categorie categorie);
}
