Helius
2022-05-10 80163ed89afd4d656b168070ced82d4f0cab0c7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.xcong.excoin.modules.otc.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
 
//历史消息
@Data
@TableName("otc_msg_history")
public class OtcMsgHistoryEntity extends BaseEntity {
 
    //用户ID
    private long memberId;
 
    //发送方
    private long fromMemberId;
    //对方用户ID
    private long targetId;
 
    //消息
    private String msg;
 
    //消息类型 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;
}