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