package com.ruoyi.app.utils.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * 推送事件
 */
@Getter
@Setter
public class PushEvent extends ApplicationEvent {
    private Long userId;
    private String title;
    private String content;
    private String body;
    public PushEvent(Long userId, String title, String content, String body) {
        super(new Object());
        this.userId = userId;
        this.title = title;
        this.content = content;
        this.body = body;
    }
}
