Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.42 KB

File metadata and controls

42 lines (30 loc) · 2.42 KB

delivering

English | Русский

Name: Delivering.

delivering is a pattern for implementing business processes that are associated with creating a delivery order, as well as payment and delivery of the order.

delivering_overall

This diagram shows the life cycle of a product or food delivery order:

productlifecycle

Flowcharts for network communication

overall.delivering

Data structures

When processing an order (order registration, payment, preparation, delivery), the following objects/DTOs are used:

Object DTO Notes
InitialOrder InitialOrderDTO model for placing an order
DeliveryOrder DeliveryOrderDTO model for invoicing control, or delivering products from a store to a warehouse
DeliveryWh2Kitchen DeliveryWh2KitchenDTO model for transferring products from warehouse to kitchen (shipping point, destination, start time, end time, products, ingredients)
CookingOperation CookingOperationDTO model for preparing an order (start time, end time, products, ingredients, recipes)
DeliveryKitchen2Wh DeliveryKitchen2WhDTO model for transferring a finished order from the kitchen to the warehouse (shipping point, destination, start time, end time, products, order number, generated order QR code)
DeliveryOperation DeliveryOperationDTO model for delivery (QR code on the order, QR code on the backpack, departure point, destination, start time, end time, order number)