Class DB.Order
java.lang.Object
team75.model.DB.Order
- Enclosing class:
DB
Represents a completed order from order history.
- Author:
- Raghu
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal Stringfinal UUIDfinal BigDecimalfinal Timestamp -
Constructor Summary
ConstructorsConstructorDescriptionOrder(UUID orderId, Timestamp time, String orderDetails, BigDecimal price, int employeeId) -
Method Summary
-
Field Details
-
orderId
-
time
-
orderDetails
-
price
-
employeeId
public final int employeeId
-
-
Constructor Details
-
Order
- Parameters:
orderId- unique order UUIDtime- timestamp when the order was placedorderDetails- JSONB string of order contentsprice- total order priceemployeeId- ID of the employee who placed the order
-
-
Method Details
-
toString
-