package com.eactive.testmaster.user.repository;

import com.eactive.testmaster.user.entity.StaffUser;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface StaffUserRepository extends JpaRepository<StaffUser, String>, JpaSpecificationExecutor<StaffUser> {

    Optional<StaffUser> findByUserId(String userId);
}
