package com.yeejoin.amos.boot.module.jg.biz.event;

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

import java.util.List;
import java.util.Set;

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

    private final List<String> records;
    /**
     * 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 CancellationEvent(Object source, List<String> records) {
        super(source);
        this.records = records;
    }
}
