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

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

/**
 * 内容安全统一检测入参，业务模块与 Provider 之间的契约。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
@Data
@Builder
public class ContentCheckRequest {

    private ContentTypeEnum contentType;
    private ContentSceneEnum scene;
    private String memberId;
    private String tenantId;
    /** 文本内容 */
    private String text;
    /** 图片等媒体 URL（须公网可访问） */
    private String mediaUrl;
    /** 微信 openid，可空；为空时 Provider 可降级 REVIEW */
    private String openid;
    private ContentSecurityBizRef bizRef;
    /** 会员摘要冗余，写入检测流水表，避免列表联查 */
    private ContentMemberSnapshot memberSnapshot;
}
