package com.dora.event;

import lombok.Getter;

import java.math.BigDecimal;

/**
 * 用户获得视频收益事件
 */
@Getter
public class UserGainedVideoRevenueEvent extends UserEvent {
    
    private final Long videoId;
    private final Long stageId;
    private final BigDecimal amount;
    
    public UserGainedVideoRevenueEvent(Object source, Long userId, Long videoId, Long stageId, BigDecimal amount) {
        super(source, userId, "USER_GAINED_VIDEO_REVENUE");
        this.videoId = videoId;
        this.stageId = stageId;
        this.amount = amount;
    }
} 