package cn.reghao.tnb.content.api.dto.comment;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author reghao
 * @date 2024-04-08 21:30:17
 */
@Setter
@Getter
public class CommentData {
    private Long id;
    private String postId;
    private String content;
    private Long createAt;
    private List<String> imageUrls = new ArrayList<>();
    private Integer likes;
    private String location;
    private CommentData reply;
    private CommentUser user;

    @Deprecated
    private String imageUrl;
    @Deprecated
    private Long _id;
    @Deprecated
    private List<CommentData> children;
}
