feat: deal product services

This commit is contained in:
2024-05-13 07:46:13 +03:00
parent e9aec10feb
commit be650aca74
10 changed files with 136 additions and 10 deletions

View File

@@ -30,10 +30,18 @@ class DealSummary(CustomModelCamel):
class DealServiceSchema(CustomModelCamel):
service: ServiceSchema
quantity: int
price: int
class DealProductServiceSchema(CustomModelCamel):
service: ServiceSchema
quantity: int
price: int
class DealProductSchema(CustomModelCamel):
product: ProductSchema
services: List[DealProductServiceSchema]
quantity: int