package com.eactive.httpmockserver.user.repository;

import com.eactive.httpmockserver.user.entity.StaffUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

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

    Optional<StaffUser> findByUserId(String userId);
}
