Order

A request from a customer to purchase one or more items from the BookWorm catalog.

An Order represents a customer's intent to purchase and includes:

  • Order ID (unique identifier)
  • Buyer ID (customer identifier)
  • List of order items with quantities and prices
  • Total price calculation
  • Order status (New, Cancelled, Completed)
  • Optional note field
  • Soft delete capability

Orders are the central entity managed by the Orders Domain.