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 KEYYes—Primary key for the row.
object_typeVARCHAR(50)No—Polymorphic object type for the meta row.
object_idBIGINTYes—Polymorphic object ID for the meta row.
keyVARCHAR(192)No—Meta key.
valueLONGTEXTYes—Meta value (often JSON-encoded).
created_atTIMESTAMPYes—Creation timestamp maintained by the ORM.
updated_atTIMESTAMPYes—Update timestamp maintained by the ORM.

Relationships ​

MethodTypeTarget
calendar_event()belongsToCalendarSlot

Public Methods ​

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