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 KEYYesPrimary key for the row.
booking_idBIGINT UNSIGNEDNoForeign key to a related record.
parent_idBIGINT UNSIGNEDYesParent row used for rescheduled or grouped bookings.
created_byBIGINT UNSIGNEDYesCreated By stored for this record.
statusVARCHAR(50)YesopenLifecycle status (scheduled, cancelled, completed, rejected, pending).
typeVARCHAR(50)YesactivitySubtype discriminator.
titleVARCHAR(192)YesHuman-readable title stored for the record.
descriptionLONGTEXTYesDescription text stored for the record.
created_atTIMESTAMPYesCreation timestamp maintained by the ORM.
updated_atTIMESTAMPYesUpdate timestamp maintained by the ORM.

Relationships

MethodTypeTarget
booking()belongsToBooking

Public Methods (sample)

MethodSignature
booking()