Skip to content

OrderItems Model

PRO

Line items belonging to a payment order (Pro). One row per bookable item (event, addon, coupon).

Class

  • Source: fluent-booking-pro/app/Models/OrderItems.php
  • Table: fcal_order_items
  • Primary key: id
  • Extends: Model

Attributes

ColumnTypeNullableDefaultDescription
idBIGINT(20) UNSIGNED NOT NULL PRIMARY KEYYesPrimary key for the row.
order_idBIGINT UNSIGNEDNo0Foreign key to a related record.
booking_idBIGINT UNSIGNEDNo0Foreign key to a related record.
item_nameTEXTNoItem Name stored for this record.
typeVARCHAR(255)YesSubtype discriminator.
quantityINTNo0Quantity stored for this record.
item_priceDECIMAL(18,9)No0.000000000Item Price stored for this record.
item_totalDECIMAL(18,9)No0.000000000Item Total stored for this record.
rateDECIMAL(18,9)No1.000000000Rate stored for this record.
line_metaTEXTYesLine Meta stored for this record.
created_atTIMESTAMPYesCreation timestamp maintained by the ORM.
updated_atTIMESTAMPYesUpdate timestamp maintained by the ORM.