| 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;//关联内容信息 | 
|   | 
| } |