package com.microservices.cms.doc.domain.gitlink;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author otto
 */
@Data
public class JournalDataVo {
    public JournalDataVo() {
        this.journals = new ArrayList<>();
        this.totalCount = 0;
        this.totalJournalsCount = 0;
        this.totalOperateJournalsCount = 0;
        this.totalCommentJournalsCount = 0;
    }

    /**
     * 评论列表
     */
    @ApiModelProperty(value = "评论列表")
    private List<JSONObject> journals;

    /**
     * 评论数量
     */
    @ApiModelProperty(value = "评论数量")
    private Integer totalCommentJournalsCount;

    /**
     * 评论总数量
     */
    @ApiModelProperty(value = "评论总数量")
    private Integer totalCount;

    /**
     * 评论和操作总数量
     */
    @ApiModelProperty(value = "评论和操作总数量")
    private Integer totalJournalsCount;

    /**
     * 操作数量
     */
    @ApiModelProperty(value = "操作数量")
    private Integer totalOperateJournalsCount;
}
