package com.panzhihua.service_user.model.dos; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; /** * @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 */ @TableId(type = IdType.ASSIGN_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; }