from pydantic import BaseModel, ConfigDict


class OemPublicBrandingOut(BaseModel):
    """对外公开的品牌信息（无需登录）。"""

    model_config = ConfigDict(from_attributes=True)

    oem_id: int
    software_name: str = ""
    logo_url: str | None = None
    wechat: str | None = None
    wechat_qrcode_url: str | None = None
