package it.powerbyte.springbootstarter.repository;

import it.powerbyte.springbootstarter.entity.FileStorage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FileStorageRepository extends JpaRepository<FileStorage, Long> {

    List<FileStorage> findByOwnerId(Long ownerId);
}
