Krishna0718's picture
Adding file for new hugging face docker space
bb5169d
raw
history blame
313 Bytes
package com.krishna.repository;
import com.krishna.model.CommentModel;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.UUID;
public interface CommentRepository extends JpaRepository<CommentModel, Long> {
List<CommentModel> findByPostId(Long postId);
}