package com.xindazhou.business.controller.admin.community.comment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 评论 Response VO")
@Data
public class CommentRespVO {

    @Schema(description = "评论ID", example = "1")
    private Long id;

    @Schema(description = "帖子ID", example = "1")
    private Long postId;

    @Schema(description = "帖子标题", example = "帖子标题")
    private String postTitle;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "用户昵称", example = "张三")
    private String userNickname;

    @Schema(description = "父评论ID，0表示顶级评论", example = "0")
    private Long parentId;

    @Schema(description = "评论内容", example = "评论内容")
    private String content;

    @Schema(description = "点赞数", example = "10")
    private Integer likeCount;

    @Schema(description = "状态：1-正常，2-删除", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}

