package org.dromara.pay.event;

import lombok.Getter;
import org.dromara.pay.domain.PayOrder;
import org.springframework.context.ApplicationEvent;

/**
 * 支付成功事件
 *
 * @author pengles
 */
@Getter
public class PaySuccessEvent extends ApplicationEvent {

    private final PayOrder order;

    public PaySuccessEvent(Object source, PayOrder order) {
        super(source);
        this.order = order;
    }
}
