package de.oaa.xxx.admin;

import org.springframework.data.jpa.repository.JpaRepository;

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

public interface AdminRepository extends JpaRepository<AdminEntity, UUID> {

    Optional<AdminEntity> findByUserId(UUID userId);

    boolean existsByUserId(UUID userId);
}
