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

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

import java.io.Serializable;

/**
 * @description
 *   个人消息按消息类型统计的请求出参数据模型
 *
 * @author cold_blade
 * @date 2023/9/13
 * @version 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class MessageStatisticRes implements Serializable {

    private static final long serialVersionUID = 5053786716345221587L;

    /**
     * 普通消息未读数量
     */
    private Integer generalMsgUnReadCnt;
    /**
     * 待办消息未处理数量
     */
    private Integer pendingMsgUnCompleteCnt;

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