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

import com.jeesharp.business.modules.contentsecurity.enums.CheckDecisionEnum;
import lombok.Builder;
import lombok.Data;

/**
 * 内容安全统一检测出参。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
@Data
@Builder
public class ContentCheckResult {

    private CheckDecisionEnum decision;
    private String providerCode;
    private String traceId;
    /** 对用户展示的拒绝原因 */
    private String rejectReason;
    /** 厂商原始标签/码，审计用 */
    private String resultLabel;
    private boolean async;
    /** 异步图片检测 trace_id 列表（提交业务后 bindPendingTasks） */
    private java.util.List<String> pendingTraceIds;
    /** 本次检测写入的流水主键，业务落库后 bindPendingTasks 回绑 */
    private String auditLogId;
    /** 批量检测时各条流水主键 */
    private java.util.List<String> auditLogIds;
}
