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(...)