Skip to content

Commit

Permalink
Merge pull request #504 from jonatasoli/staging
Browse files Browse the repository at this point in the history
alter type weigth schema
  • Loading branch information
thaismtss authored Jun 24, 2021
2 parents 7a7f24b + 4a7667f commit c1bd626
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app/schemas/order_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class ProductSchema(BaseModel):
category_id: int
discount: Optional[int]
quantity: Optional[int]
heigth: Optional[int]
width: Optional[int]
weigth: Optional[int]
length: Optional[int]
heigth: Optional[float]
width: Optional[float]
weigth: Optional[float]
length: Optional[float]

class Config:
orm_mode = True
Expand All @@ -45,10 +45,10 @@ class ProductFullResponse(BaseModel):
quantity: Optional[int]
showcase: bool
show_discount: Optional[bool]
heigth: Optional[int]
width: Optional[int]
weigth: Optional[int]
length: Optional[int]
heigth: Optional[float]
width: Optional[float]
weigth: Optional[float]
length: Optional[float]

class Config:
orm_mode = True
Expand All @@ -70,10 +70,10 @@ class ProductInDB(BaseModel):
quantity: Optional[int]
showcase: bool
show_discount: Optional[bool]
heigth: Optional[int]
width: Optional[int]
weigth: Optional[int]
length: Optional[int]
heigth: Optional[float]
width: Optional[float]
weigth: Optional[float]
length: Optional[float]

class Config:
orm_mode = True
Expand Down

0 comments on commit c1bd626

Please sign in to comment.