package com.dora.event;

import lombok.Getter;

import java.math.BigDecimal;

/**
 * 用户获得推广收益事件
 */
@Getter
public class UserGainedPromotionCommissionEvent extends UserEvent {
    
    private final Long commissionId;
    private final BigDecimal amount;
    
    public UserGainedPromotionCommissionEvent(Object source, Long userId, Long commissionId, BigDecimal amount) {
        super(source, userId, "USER_GAINED_PROMOTION_COMMISSION");
        this.commissionId = commissionId;
        this.amount = amount;
    }
} 