package com.seer.teach.pay.app.event;

import com.seer.teach.pay.entity.RefundOrderEntity;
import org.springframework.context.ApplicationEvent;

/**
 * 退款成功事件
 */
public class RefundSuccessEvent extends ApplicationEvent {
    
    private final RefundOrderEntity refundOrder;

    public RefundSuccessEvent(Object source, RefundOrderEntity refundOrder) {
        super(source);
        this.refundOrder = refundOrder;
    }

    public RefundOrderEntity getRefundOrder() {
        return refundOrder;
    }
}