blob: 18f8e3758375d243a9f9960b84403fc0fb53e802 [file] [log] [blame]
xiukira687b9cb2025-05-29 15:15:02 +08001package com.g9.g9backend.pojo;
2
3import com.baomidou.mybatisplus.annotation.TableId;
4import lombok.*;
5
6import java.util.Date;
7
8/**
9 * Notification 实体类,表示通知的数据模型
10 *
11 * @author hcy
12 */
13@Data
14@AllArgsConstructor
15@NoArgsConstructor
16public class Notification {
17
18 @TableId
19 private int notificationId;
20
21 private int userId;
22
23 private String type;
24
25 private String title;
26
27 private String content;
28
29 private Date createAt;
30
31 private boolean isRead;
32
33 private int triggeredBy;
34
35 private int relatedId;
36}