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.
|
- from pydantic import BaseModel, Field
-
-
- class CreateCarPart(BaseModel):
- ParentId: int = Field(...)
- Name: str = Field(...)
- Number: str = Field(...)
- Condition: str = Field(...)
- ImageURL: str = Field(...)
- Cost: int = Field(...)
-
-
- class ShowCarPart(BaseModel):
- ParentId: int = Field(...)
- Name: str = Field(...)
- Number: str = Field(...)
- Condition: str = Field(...)
- ImageURL: str = Field(...)
- Cost: int = Field(...)
|