Class DB.Order

java.lang.Object
team75.model.DB.Order
Enclosing class:
DB

public static class DB.Order extends Object
Represents a completed order from order history.
Author:
Raghu
  • Field Details

    • orderId

      public final UUID orderId
    • time

      public final Timestamp time
    • orderDetails

      public final String orderDetails
    • price

      public final BigDecimal price
    • employeeId

      public final int employeeId
  • Constructor Details

    • Order

      public Order(UUID orderId, Timestamp time, String orderDetails, BigDecimal price, int employeeId)
      Parameters:
      orderId - unique order UUID
      time - timestamp when the order was placed
      orderDetails - JSONB string of order contents
      price - total order price
      employeeId - ID of the employee who placed the order
  • Method Details