mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-11 09:30:56 +08:00
23 lines
466 B
Java
23 lines
466 B
Java
package com.openisle.dto;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* DTO representing a comment and its nested replies.
|
|
*/
|
|
@Data
|
|
public class CommentDto {
|
|
|
|
private Long id;
|
|
private String content;
|
|
private LocalDateTime createdAt;
|
|
private LocalDateTime pinnedAt;
|
|
private AuthorDto author;
|
|
private List<CommentDto> replies;
|
|
private List<ReactionDto> reactions;
|
|
private int reward;
|
|
private int pointReward;
|
|
}
|