package com.sckw.message.model.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @desc: 消息统计响应参数
 * @author: yzc
 * @date: 2023-06-09 11:34
 */
@Getter
@Setter
@ToString
@Builder
public class MessagesStatisticsResVO  implements Serializable {

    @Serial
    private static final long serialVersionUID = 4758956841872315397L;

    /**
     * 消息分类
     */
    private String category;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 未读数量
     */
    private Integer unReadNum;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 消息跳转url
     */
    private String url;

    /**
     * 状态0未读1已读
     */
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
