"""评查 DTO（仅控制器层使用）。"""

from pydantic import BaseModel, Field


class AuditRunDTO(BaseModel):
    """触发评查请求。"""

    documentId: int = Field(..., description="文档ID")
    ruleType: str | None = Field(None, description="指定规则类型编码")
    force: bool = Field(False, description="是否强制重跑")
    speed: str = Field("normal", description="执行速度档位：urgent/normal")
