Skip to content

BookingActivity Model ​

Activity stream entries tied to a booking — status changes, notes, and audit log lines.

Class ​

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

Attributes ​

ColumnTypeNullableDefaultDescription
idBIGINT UNSIGNED NOT NULL PRIMARY KEYYes—Primary key for the row.
booking_idBIGINT UNSIGNEDNo—Foreign key to a related record.
parent_idBIGINT UNSIGNEDYes—Parent row used for rescheduled or grouped bookings.
created_byBIGINT UNSIGNEDYes—Created By stored for this record.
statusVARCHAR(50)YesopenLifecycle status (scheduled, cancelled, completed, rejected, pending).
typeVARCHAR(50)YesactivitySubtype discriminator.
titleVARCHAR(192)Yes—Human-readable title stored for the record.
descriptionLONGTEXTYes—Description text stored for the record.
created_atTIMESTAMPYes—Creation timestamp maintained by the ORM.
updated_atTIMESTAMPYes—Update timestamp maintained by the ORM.

Relationships ​

MethodTypeTarget
booking()belongsToBooking

Query Scopes ​

ScopeParameters
Notes$query

Public Methods ​

MethodSignature
booking()—