|
@@ -1,6 +1,8 @@
|
|
|
package com.citu.module.menduner.im.dal.dataobject;
|
|
|
|
|
|
+import com.alibaba.fastjson.annotation.JSONField;
|
|
|
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import lombok.*;
|
|
|
import java.util.*;
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
@@ -33,10 +35,14 @@ public class UserMsgDO extends BaseDO {
|
|
|
/**
|
|
|
* 字符串类型服务端的消息ID(全局唯一)
|
|
|
*/
|
|
|
+ @JsonProperty("client_msg_no")
|
|
|
+ @JSONField(name="client_msg_no")
|
|
|
private String messageIdStr;
|
|
|
/**
|
|
|
* 客户端消息唯一编号
|
|
|
*/
|
|
|
+ @JsonProperty("message_idstr")
|
|
|
+ @JSONField(name="message_idstr")
|
|
|
private Integer clientMsgNo;
|
|
|
/**
|
|
|
* 消息序列号 (用户唯一,有序递增)
|
|
@@ -45,11 +51,15 @@ public class UserMsgDO extends BaseDO {
|
|
|
/**
|
|
|
* 发送者UID
|
|
|
*/
|
|
|
- private Integer fromUid;
|
|
|
+ @JsonProperty("form_uid")
|
|
|
+ @JSONField(name="form_uid")
|
|
|
+ private String fromUid;
|
|
|
/**
|
|
|
* 频道ID
|
|
|
*/
|
|
|
- private Integer channelId;
|
|
|
+ @JsonProperty("channel_id")
|
|
|
+ @JSONField(name="channel_id")
|
|
|
+ private String channelId;
|
|
|
/**
|
|
|
* 频道类型
|
|
|
*/
|