From 6c2e9ba62c418185361179e7014862c481f34e17 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 09 Mar 2022 14:22:09 +0800 Subject: [PATCH] conflect merge --- src/main/java/com/xcong/excoin/modules/otc/vo/ChatBoxVo.java | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/vo/ChatBoxVo.java b/src/main/java/com/xcong/excoin/modules/otc/vo/ChatBoxVo.java new file mode 100644 index 0000000..25318f3 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/vo/ChatBoxVo.java @@ -0,0 +1,38 @@ +package com.xcong.excoin.modules.otc.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +@Data +@ApiModel(value = "ChatBoxVo", description = "返回参数类") +public class ChatBoxVo { + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @ApiModelProperty(value = "时间") + private Date createTime; + + @ApiModelProperty(value = "接受ID") + private long targetId; + + @ApiModelProperty(value = "发送ID") + private long fromMemberId; + + @ApiModelProperty(value = "用户ID") + private long memberId; + + //消息 + @ApiModelProperty(value = "消息") + private String msg; + + //消息类型 1-文本2-图片 + @ApiModelProperty(value = "消息类型 1-文本2-图片") + private Integer msgType; + + @ApiModelProperty(value = "是否是自己 1:是 2:否") + private Integer isSelf; + +} -- Gitblit v1.9.1