package cn.axzo.msg.center.api.response;

import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @description
 *
 * @author cold_blade
 * @date 2023/9/18
 * @version 1.0
 */
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PendingMessageStatisticRes implements Serializable {

    private static final long serialVersionUID = -3864039207092979609L;

    /**
     * 总数
     */
    private Long totalElements;
    /**
     * 当前页码
     */
    private Long pageNum;
    /**
     * 每页展示的条数
     */
    private Long pageSize;
    /**
     * 待办数量
     */
    private Integer unCompleteCnt;
    /**
     * 已完成数量
     */
    private Integer completeCnt;
    /**
     * 分页查询的数量
     */
    private List<PendingMessageBriefRes> briefResList;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
