Skip to content

Meta Model

Polymorphic key/value metadata table used by FluentBooking entities (calendars, events, availability, webhooks). Columns: object_type, object_id, key, value.

Class

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

Attributes

ColumnTypeNullableDefaultDescription
idBIGINT UNSIGNED NOT NULL PRIMARY KEYYesPrimary key for the row.
object_typeVARCHAR(50)NoPolymorphic object type for the meta row.
object_idBIGINTYesPolymorphic object ID for the meta row.
keyVARCHAR(192)NoMeta key.
valueLONGTEXTYesMeta value (often JSON-encoded).
created_atTIMESTAMPYesCreation timestamp maintained by the ORM.
updated_atTIMESTAMPYesUpdate timestamp maintained by the ORM.

Relationships

MethodTypeTarget
calendar_event()belongsToCalendarSlot

Public Methods (sample)

MethodSignature
setValueAttribute()$value
getValueAttribute()$value
calendar_event()