package com.skr.mdm.event;

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

/**
 * 数据库清理事件
 * @author nfq
 * @date 2023-03-10 14:32
 */
public class DataBaseCleanEvent extends ApplicationEvent {


    /**
     * 单表最大数量限制
     */
    @Getter
    private Integer maxLimit;

    public DataBaseCleanEvent(Object source, Integer maxLimit) {
        super(source);
        this.maxLimit = maxLimit;
    }
}
