123
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 聊天过滤对象 cai_user_chat_filter
|
||||
*
|
||||
* @author 77
|
||||
* @date 2024-01-09
|
||||
*/
|
||||
@Data
|
||||
@TableName("cai_user_chat_filter")
|
||||
public class UserChatFilter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long fromUid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long toUid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String content;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 聊天记录对象 cai_user_chat_record
|
||||
*
|
||||
* @author 77
|
||||
* @date 2024-01-09
|
||||
*/
|
||||
@Data
|
||||
@TableName("cai_user_chat_record")
|
||||
public class UserChatRecord implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
private Long traceId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long fromUid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long toUid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String content;
|
||||
/**
|
||||
* 消息类型:0=文本消息,1=图片消息,2=语音消息,3=视频消息,4=发送地理位置消息,6=发送文件消息,10=发送提示消息,100=发送第三方自定义消息
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
* 图片下载状态:0=未更新,1=已更新,2=已下载,3=下载失败
|
||||
*/
|
||||
private Integer imgStatus;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user