package com.skr.mdm.event;

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

/**
 * MinIo清理事件
 * @author nfq
 * @date 2023-03-10 14:32
 */
public class MinIoFileCleanEvent extends ApplicationEvent {


    /**
     * 文件保留天数
     */
    @Getter
    private Integer fileRetentionDays;

    public MinIoFileCleanEvent(Object source, Integer fileRetentionDays) {
        super(source);
        this.fileRetentionDays = fileRetentionDays;
    }
}
