您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910
  1. from pydantic import BaseModel, Field
  2. class CreateCarPart(BaseModel):
  3. ParentId: int = Field(...)
  4. Name: str = Field(...)
  5. Number: str = Field(...)
  6. Condition: str = Field(...)
  7. ImageURL: str = Field(...)
  8. Cost: int = Field(...)