package com.yunzhupaas.message.model.websocket.savamessage;

import com.alibaba.fastjson.annotation.JSONField;
import com.yunzhupaas.message.model.websocket.model.MessageModel;
import lombok.Data;

import java.io.Serializable;

/**
 * 保存消息模型
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司（http://www.szlecheng.cn）
 * @date 2024-07-12
 */
@Data
public class SavaMessageModel extends MessageModel implements Serializable {

    @JSONField(name = "UserId")
    private String userId;

    private String toUserId;

    private Long dateTime;

    private String headIcon;

    private Long latestDate;

    private String realName;

    private String account;

    private String toAccount;

    private String toRealName;

    private String toHeadIcon;

    private String messageType;

    private Object toMessage;

}

