package com.example.g8backend.service; | |
import com.example.g8backend.dto.CommentDTO; | |
import com.example.g8backend.entity.Comment; | |
import java.util.List; | |
public interface ICommentService { | |
void createComment(CommentDTO commentDTO); | |
List<Comment> getCommentsByPostId(Long postId); | |
List<Comment> getReplies(Long parentCommentId, int depth); | |
boolean deleteComment(Long commentId); | |
} |