feat: products quantity and total price in deal schemas
This commit is contained in:
@ -17,6 +17,10 @@ class DealSchema(BaseSchema):
|
||||
status: StatusSchema
|
||||
board: BoardSchema
|
||||
created_at: datetime
|
||||
# FF module
|
||||
products_quantity: int = 0
|
||||
total_price: float = 0
|
||||
# clients module
|
||||
client: Optional[ClientSchema] = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user