feat(tasks): 企业发标 EnterpriseTaskCreate 增多端配置字段(可见性/指派/园区/名额/条件/托管)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user