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/MsgListVo.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/vo/MsgListVo.java b/src/main/java/com/xcong/excoin/modules/otc/vo/MsgListVo.java new file mode 100644 index 0000000..fd5317c --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/vo/MsgListVo.java @@ -0,0 +1,39 @@ +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 = "MsgListVo", description = "返回参数类") +public class MsgListVo { + + //用户ID + @ApiModelProperty(value = "用户ID") + private long id; + + @ApiModelProperty(value = "昵称") + private String nickname; + + @ApiModelProperty(value = "对方用户ID") + private long targetId; + + @ApiModelProperty(value = "用户ID") + private long memberId; + + //是否已读 1:未读 2:已读 + @ApiModelProperty(value = "是否已读 1:未读 2:已读") + private Integer isRead; + + //最后聊天时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @ApiModelProperty(value = "最后聊天时间") + private Date lastMsgTime; + + @ApiModelProperty(value = "最新的订单") + private ChatOrderVo chatOrderVo; + +} -- Gitblit v1.9.1