package com.jeesharp.business.modules.contentsecurity.event;

import com.jeesharp.business.modules.contentsecurity.enums.CheckDecisionEnum;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 微信异步图片检测完成事件，供评价等业务模块监听并更新状态。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
@Getter
public class ContentSecurityMediaCompletedEvent extends ApplicationEvent {

    private final String bizModule;
    private final String bizId;
    private final String traceId;
    private final CheckDecisionEnum decision;
    private final String resultLabel;

    public ContentSecurityMediaCompletedEvent(Object source, String bizModule, String bizId, String traceId,
            CheckDecisionEnum decision, String resultLabel) {
        super(source);
        this.bizModule = bizModule;
        this.bizId = bizId;
        this.traceId = traceId;
        this.decision = decision;
        this.resultLabel = resultLabel;
    }
}
