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/entity/OtcMsgUserListEntity.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgUserListEntity.java b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgUserListEntity.java new file mode 100644 index 0000000..464c6f8 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcMsgUserListEntity.java @@ -0,0 +1,34 @@ +package com.xcong.excoin.modules.otc.entity; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.xcong.excoin.common.system.base.BaseEntity; +import lombok.Data; + +import java.util.Date; + +//用户消息列表 +@Data +@TableName("otc_msg_user_list") +public class OtcMsgUserListEntity extends BaseEntity { + + + + //用户ID + private long memberId; + + //对方用户ID + private long targetId; + + //是否已读 1:未读 2:已读 + private Integer isRead; + public static final Integer ISREAD_ONE = 1; + public static final Integer ISREAD_TWO = 2; + + //最后聊天时间 + private Date lastMsgTime; + + @TableField(exist = false) + private String nickname; + +} -- Gitblit v1.9.1