Add recent post and comment context APIs

This commit is contained in:
Tim
2025-10-27 16:05:40 +08:00
parent df59a9fd4b
commit bd2d6e7485
7 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package com.openisle.dto;
import java.util.List;
import lombok.Data;
/**
* DTO representing the context of a comment including its post and previous comments.
*/
@Data
public class CommentContextDto {
private PostSummaryDto post;
private CommentDto targetComment;
private List<CommentDto> previousComments;
}