25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

carpart.py 249 B

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