package com.luojia_channel.modules.post.dto.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CommentInfoDTO {
    private Long id;
    private String content;
    private Long likeCount;
    private Long replyCount;
    private Long userId;
    private Long postId;
    private Long parentCommentId;
    private Long topId;
    private LocalDateTime createTime;

    private String userName;
    private String userAvatar;

    private List<CommentInfoDTO> commentInfoDTOList;
}
