Mirror the quote approver setting so contract submit dialogs can prefill ordered approvers from a tenant config page while remaining editable. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
294 B
Python
11 lines
294 B
Python
from typing import List
|
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class ContractApproverSettingSaveBody(BaseModel):
|
|
model_config = ConfigDict(populate_by_name=True)
|
|
|
|
approverIds: List[str] = Field(default_factory=list)
|
|
status: str = Field(default="0") # 0启用 1停用
|