From f6a912c1a6a26c809568f964941fb4ad4483274e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 31 May 2021 11:19:40 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgHistoryEntity.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgHistoryEntity.java b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgHistoryEntity.java
index 736fa8e..daa3662 100644
--- a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgHistoryEntity.java
+++ b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgHistoryEntity.java
@@ -12,6 +12,8 @@
//用户ID
private long memberId;
+ //发送方
+ private long fromMemberId;
//对方用户ID
private long targetId;
@@ -20,4 +22,9 @@
//消息类型 1-文本2-图片
private Integer msgType;
+
+ //是不是memberId发的消息 1:是 2:否
+ private Integer isSelf;
+ public static final Integer ISSELF_ONE = 1;
+ public static final Integer ISSELF_TWO = 2;
}
--
Gitblit v1.9.1