"""规则发布 DTO。"""

from pydantic import BaseModel, Field


class RulePublishDTO(BaseModel):
    """规则版本发布/回滚请求。"""

    versionId: int = Field(..., description="规则版本ID")
    operatorUserId: int | None = Field(None, description="操作用户ID")
