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 KEYYesPrimary key for the row.
booking_idBIGINTYesForeign key to a related record.
meta_keyVARCHAR(192)NoMeta Key stored for this record.
valueLONGTEXTYesMeta value (often JSON-encoded).
created_atTIMESTAMPYesCreation timestamp maintained by the ORM.
updated_atTIMESTAMPYesUpdate timestamp maintained by the ORM.

Relationships

MethodTypeTarget
booking()belongsToBooking

Public Methods (sample)

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