Skip to content

Availability Model ​

Availability schedule defining recurring weekly hours and date overrides. Stored in fcal_meta with object_type='availability' — the weekly schedule lives in the serialized value column.

Class ​

  • Source: fluent-booking/app/Models/Availability.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.

Public Methods ​

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