from pydantic import BaseModel

class OrgMemberAdd(BaseModel):
    user_id: str | None = None
    username: str | None = None  # 支持按用户名添加（解析为 user_id）
    role: str = "member"
    is_admin: bool = False



