package com.sckw.message.model.dto;

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

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

/**
 * @author: yzc
 * @date: 2023-06-08 15:44
 * @description: 消息列表dto
 */
@Getter
@Setter
@ToString
public class MessageListDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 4676530802038232669L;

    /**
     * kwm_message_user id
     */
    private Long id;

    private Long entId;

    private Long userId;

    private Integer status;

    private String remark;

    private Long createBy;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private Long updateBy;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * kwm_message id
     */
    private Long msgId;

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

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

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

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

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

    /**
     * 消息跳转参数
     */
    private String params;

    /**
     * 推送设备类型
     */
    private String clientType;

    private String msgRemark;


}
