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

import com.yeejoin.amos.boot.module.cylinder.api.dto.CylinderQuestionInfoDto;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

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

    private CylinderQuestionInfoDto cylinderQuestionInfoDto;

    /**
     * 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 CylinderQuestionCreateEvent(Object source, CylinderQuestionInfoDto cylinderQuestionInfoDto) {
        super(source);
        this.cylinderQuestionInfoDto = cylinderQuestionInfoDto;
    }
}
