feat: deal product services
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user