package com.yeejoin.amos.api.openapi.listener.event;

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

import java.util.List;

/**
 * @author Administrator
 */
@Getter
public class FileToBeDeleteEvent extends ApplicationEvent {

    private final List<String> fileUrlList;

    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param source the object on which the event initially occurred or with
     *               which the event is associated (never {@code null})
     */
    public FileToBeDeleteEvent(Object source, List<String> fileUrlList) {
        super(source);
        this.fileUrlList = fileUrlList;
    }
}
