44323
2023-11-06 3caee5ce51a218f4bc1f3757a4d09b0ed18aa6df
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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;
 
}