package com.skr.mdm.event;

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

/**
 * 公司删除事件
 * @author nfq
 * @date 2022-12-12 09:54
 */
public class CompanyDeleteEvent extends ApplicationEvent {

    /**
     * 需要删除的公司ID
     */
    @Getter
    @Setter
    private Integer companyId;

    public CompanyDeleteEvent(Object source, Integer companyId) {
        super(source);
        this.companyId = companyId;
    }
}
