package com.dora.event;

import lombok.Getter;

import java.math.BigDecimal;

/**
 * 用户获得工作流收益事件
 */
@Getter
public class UserGainedWorkflowRevenueEvent extends UserEvent {
    
    private final Long workflowId;
    private final Long stageId;
    private final BigDecimal amount;
    
    public UserGainedWorkflowRevenueEvent(Object source, Long userId, Long workflowId, Long stageId, BigDecimal amount) {
        super(source, userId, "USER_GAINED_WORKFLOW_REVENUE");
        this.workflowId = workflowId;
        this.stageId = stageId;
        this.amount = amount;
    }
} 