package org.agt.module.license.controller.admin.comment.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

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

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4294")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "项目ID", example = "18334")
    @ExcelProperty("项目ID")
    private Long projectId;

    @Schema(description = "项目名称", example = "18334")
    private String projectName;

    @Schema(description = "项目状态", example = "18334")
    private Integer status;

    @Schema(description = "serialNo", example = "随便")
    private String serialNo;

    @Schema(description = "业务负责人")
    private String businessOwner;

    @Schema(description = "技术负责人1")
    private String technicalOwnerA;

    @Schema(description = "客户名称")
    private String customerName;

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

    @Schema(description = "父ID", example = "20143")
    @ExcelProperty("父ID")
    private Long parentId;

    @Schema(description = "内容")
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "评论用户")
    private String author;

    @Schema(description = "评论用户头像")
    private String avatar;

    @Schema(description = "回复用户ID", example = "30248")
    private Long replyUserId;

    @Schema(description = "回复用户")
    private String replyUser;

    @Schema(description = "深度")
    private Integer depth;

    @Schema(description = "子列表")
    private List<CommentTreeRespVO> children;
}