package com.eactive.httpmockserver.client.repository;

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

import java.util.List;

public interface ApiCollectionRepository extends JpaRepository<ApiCollection, String>, JpaSpecificationExecutor<ApiCollection> {

    List<ApiCollection> findAllByOwner(StaffUser owner);
}
