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

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

import java.util.List;

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

    private List<JyjcInspectionResult> jyjcInspectionResultList;

    /**
     * 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 UseInfoSaveToDbEvent(Object source, List<JyjcInspectionResult> jyjcInspectionResultList) {
        super(source);
        this.jyjcInspectionResultList = jyjcInspectionResultList;
    }
}
