陶杰
2024-08-22 ee9032d9baf5f33e376d2d2699136e0a7b26bec7
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
31
32
33
34
35
36
package com.mzl.flower.entity.system;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mzl.flower.base.BaseEntity;
import lombok.Data;
 
@Data
@TableName("t_user_message")
public class UserMessage extends BaseEntity {
 
    @TableField("user_id")
    private String userId;//用户id
 
    @TableField("type")
    private String type;//消息类型(MSG_TYPE)
 
    @TableField("title")
    private String title;//标题
 
    @TableField("content")
    private String content;//内容
 
    @TableField("`read`")
    private Boolean read;//是否已读
 
    @TableField("related_id")
    private String relatedId;//关联内容id
 
    @TableField("related_type")
    private String relatedType;//关联内容类型
 
    @TableField("related_info")
    private String relatedInfo;//关联内容信息
 
}