package com.g9.g9backend.pojo; | |
import com.baomidou.mybatisplus.annotation.TableId; | |
import lombok.*; | |
import java.util.Date; | |
/** | |
* Notification 实体类,表示通知的数据模型 | |
* | |
* @author hcy | |
*/ | |
@Data | |
@AllArgsConstructor | |
@NoArgsConstructor | |
public class Notification { | |
@TableId | |
private int notificationId; | |
private int userId; | |
private String type; | |
private String title; | |
private String content; | |
private Date createAt; | |
private boolean isRead; | |
private int triggeredBy; | |
private int relatedId; | |
} |