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

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

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

    private CylinderFillingRecordStatisticsUnitDayDto cylinderFillingRecordStatisticsUnitDayDto;

    /**
     * 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 CylinderStatisticsUnitDayInsertOrUpdateEvent(Object source, CylinderFillingRecordStatisticsUnitDayDto cylinderFillingRecordStatisticsUnitDayDto) {
        super(source);
        this.cylinderFillingRecordStatisticsUnitDayDto = cylinderFillingRecordStatisticsUnitDayDto;
    }
}
