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

import com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionApplicationModel;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

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

    private final JyjcInspectionApplicationModel jyjcInspectionApplicationModel;

    /**
     * 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 InspectionApplicationPushEvent(Object source, JyjcInspectionApplicationModel jyjcInspectionApplicationModel) {
        super(source);
        this.jyjcInspectionApplicationModel = jyjcInspectionApplicationModel;
    }
}
