You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 1 година
12345678910111213141516171819
  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(...)
  9. class ShowCarPart(BaseModel):
  10. ParentId: int = Field(...)
  11. Name: str = Field(...)
  12. Number: str = Field(...)
  13. Condition: str = Field(...)
  14. ImageURL: str = Field(...)
  15. Cost: int = Field(...)