huanghongfa
2021-01-07 ae33fef700e5d2558dffb03c8f66358da2545791
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.panzhihua.service_user.model.dos;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 系统通知
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2021-01-04 17:06
 **/
@Data
@TableName("sys_user_notice")
public class SysUserNoticeDO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    private Long id;
 
    /**
     * 用户id
     */
    private Long userId;
 
    /**
     * 类型 1活动 2 服务 3系统 4积分消息
     */
    private Integer type;
 
    /**
     * 消息标题
     */
    private String title;
 
    /**
     * 具体业务类型 1 社区活动 2社区活动 3微心愿通知 4随手拍服务通知 5支援者申请 6实名制审核 7人脸识别审核 8积分获取和消耗 9积分点击直接跳转积分列表
     */
    private Integer businessType;
 
    /**
     * 业务标题
     */
    private String businessTitle;
 
    /**
     * 业务内容
     */
    private String businessContent;
 
    /**
     * 业务发生时间
     */
    private Date businessTime;
 
    /**
     * 业务状态 1未通过、取消  2 成功
     */
    private Integer businessStatus;
 
    /**
     * 消息发出时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 消息读取时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;
 
    /**
     * 消息状态 0 未读 1 已读
     */
    private Integer status;
 
    /**
     * 业务主键 用于跳转
     */
    private Long businessId;
    /**
     * 社区活动类型 1志愿者活动 2居民活动
     */
    private Integer activityType;
}