Skip to content

BookingMeta Model ​

Key/value metadata attached to bookings (booking field answers, location details, custom data). Columns: booking_id, meta_key, value.

Class ​

  • Source: fluent-booking/app/Models/BookingMeta.php
  • Table: fcal_booking_meta
  • Primary key: id
  • Extends: Model

Attributes ​

ColumnTypeNullableDefaultDescription
idBIGINT UNSIGNED NOT NULL PRIMARY KEYYes—Primary key for the row.
booking_idBIGINTYes—Foreign key to a related record.
meta_keyVARCHAR(192)No—Meta Key stored for this record.
valueLONGTEXTYes—Meta value (often JSON-encoded).
created_atTIMESTAMPYes—Creation timestamp maintained by the ORM.
updated_atTIMESTAMPYes—Update timestamp maintained by the ORM.

Relationships ​

MethodTypeTarget
booking()belongsToBooking

Public Methods ​

MethodSignature
setValueAttribute()$value
getValueAttribute()$value
booking()—