package com.skr.mdm.event;

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

/**
 * 文件上传进度事件
 * @author nfq
 * @date 2023-11-30 17:07:14
 */
@Getter
public class FileUploadProgressEvent extends ApplicationEvent {

    /**
     * 文件ID
     */
    @Setter
    private String fileId;

    /**
     * 上传进度
     */
    private String process;

    public FileUploadProgressEvent(Object source, String fileId, String process) {
        super(source);
        this.fileId = fileId;
        this.process = process;
    }
}
