package cn.reghao.tnb.search.app.comment.model.dto;

import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

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

    @NotNull
    private Long parentId;
    @NotBlank
    private String content;
    @NotBlank
    private String videoId;
    private Long targetId;
    private String targetUsername;

    //private Long commentId;
    /*private CommentData newComment;
    private CommentData parent;
    @Deprecated
    private Long avId;
    @Deprecated
    private Long userId;
    private String postId;
    private String imgSrc;
    private Long createAt;
    private Integer likes;
    private List<String> commentImages = new ArrayList<>();*/
}
