OrderDto
Data class unifying all order types (Delivery, Takeaway, and Dine-In) into a single representation.
Constructors
Properties
The unique identifier for the customer.
The name of the customer placing the order (applicable for Takeaway orders).
The phone number of the customer for contact during delivery (applicable for Delivery orders).
The address where the order will be delivered (applicable for Delivery orders).
The estimated time for delivery in milliseconds (applicable for Delivery orders).
The list of order items.
The number of guests for the dine-in order (applicable for Dine-In orders).
The time when the order will be ready for pickup in milliseconds (applicable for Takeaway orders).
The unique identifier for the restaurant.
The table number where the customer will be seated (applicable for Dine-In orders).