package cn.fateverse.query.portal.event;

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

/**
 * @author Clay
 * @date 2024/4/19 17:42
 */
@Getter
public class DispatchSyncEvent extends ApplicationEvent {
    private final String path;
    private final Boolean publish;
    private final String requestMethod;

    public DispatchSyncEvent(String path, String requestMethod, Boolean publish) {
        super(path);
        this.path = path;
        this.publish = publish;
        this.requestMethod = requestMethod;
    }

}
