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

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author reghao
 * @date 2022-06-15 09:58:19
 */
@Setter
@Getter
public class UserReply implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String content;
    private String imgSrc;
    private Integer likes;
    private Boolean liked;
    private String reply;
    private Long createAt;
    private List<UserReply> children;
    private Long total;
    private ReplyUser user;

    public UserReply() {
        this.children = new ArrayList<>();
        this.total = 0L;
    }
}
