feat: empty boxes, ids for shipping pdfs
This commit is contained in:
		@@ -14,7 +14,7 @@ class ProductAndQuantitySchema(BaseSchema):
 | 
			
		||||
class BoxSchema(BaseSchema):
 | 
			
		||||
    id: int
 | 
			
		||||
    quantity: int
 | 
			
		||||
    product: ProductSchema
 | 
			
		||||
    product: Optional[ProductSchema]
 | 
			
		||||
    pallet_id: Optional[int]
 | 
			
		||||
    deal_id: Optional[int]
 | 
			
		||||
 | 
			
		||||
@@ -40,11 +40,11 @@ class UpdateShippingProductSchema(ProductAndQuantitySchema):
 | 
			
		||||
    shipping_product_id: int
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CreateBoxInPalletSchema(ProductAndQuantitySchema):
 | 
			
		||||
class CreateBoxInPalletSchema(BaseSchema):
 | 
			
		||||
    pallet_id: Optional[int]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CreateBoxInDealSchema(ProductAndQuantitySchema):
 | 
			
		||||
class CreateBoxInDealSchema(BaseSchema):
 | 
			
		||||
    deal_id: Optional[int]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user