diff --git a/app/api/schemas/portals.py b/app/api/schemas/portals.py index 845fdd8..a985053 100644 --- a/app/api/schemas/portals.py +++ b/app/api/schemas/portals.py @@ -10,6 +10,22 @@ class EnterpriseTaskCreate(BaseModel): budget_max: int = 0 deadline: str = "" publisher_name: str = "" + # ── 多端任务体系扩展字段 ── + publisher_role: str = "enterprise" + visibility: str = "public" + c_visible: bool = True + park_public: bool = False + assign_type: str = "" + assign_park_id: str | None = None + assign_opc_id: str | None = None + park_id: str | None = None + delivery_days: int = 0 + headcount: int = 0 + exclusive: bool = False + bid_quota: int = 0 + win_quota: int = 0 + eligibility: str = "{}" + settle_mode: str = "operator_escrow"