From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 04 三月 2024 10:11:21 +0800 Subject: [PATCH] 合并代码 --- cloud-server-management/src/main/java/com/dsh/course/entity/SystemNotice.java | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/course/entity/SystemNotice.java b/cloud-server-management/src/main/java/com/dsh/course/entity/SystemNotice.java new file mode 100644 index 0000000..faa5cc6 --- /dev/null +++ b/cloud-server-management/src/main/java/com/dsh/course/entity/SystemNotice.java @@ -0,0 +1,64 @@ +package com.dsh.course.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + +/** + * 系统通知 + */ +@Data +@TableName("t_system_notice") +public class SystemNotice { + /** + * 主键 + */ + @TableId(value = "id", type = IdType.AUTO) + @TableField("id") + private Integer id; + /** + * 类型(1=公告,2=系统消息) + */ + @TableField("type") + private Integer type; + /** + * 系统消息类型(1=打车业务,2=优惠券) + */ + @TableField("noticeType") + private Integer noticeType; + /** + * 用户类型(1=用户,2=司机) + */ + @TableField("userType") + private Integer userType; + /** + * 公告id + */ + @TableField("noticesId") + private Integer noticesId; + /** + * 消息内容 + */ + @TableField("content") + private String content; + /** + * 接收对象id + */ + @TableField("userId") + private Integer userId; + /** + * 添加时间 + */ + @TableField("insertTime") + private Date insertTime; + /** + * 阅读状态(1=未读,2=已读) + */ + @TableField("read") + private Integer read; + +} -- Gitblit v1.7.1