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; }