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

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author reghao
 * @date 2022-02-08 16:16:59
 */
@Setter
@Getter
public class CommentSbtDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private CommentData newComment;
    private CommentData parent;

    @Deprecated
    private String videoId;
    @Deprecated
    private Long avId;
    @Deprecated
    private Long userId;
    private Long parentId;
    private Long commentId;
    @NotBlank
    private String content;
    private String imgSrc;
    @NotNull
    private Long createAt;
    private Integer likes;
    private List<String> commentImages = new ArrayList<>();
}
