Krishna0718's picture
Adding file for new hugging face docker space
bb5169d
raw
history blame
364 Bytes
package com.krishna.repository;
import com.krishna.model.PostModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.UUID;
@Repository
public interface PostRepository extends JpaRepository<PostModel, Long> {
List<PostModel> findByUserModelId(UUID id);
}