blob: 4fc9a034b2168f6687f7ddd8ec457ff21000be53 [file] [log] [blame]
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);
}