Skip to content

BookingHost Model

Pivot rows linking bookings to their host users in multi-host (team / collective / round-robin) scheduling.

Class

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

Attributes

ColumnTypeNullableDefaultDescription
idBIGINT(20) UNSIGNED NOT NULL PRIMARY KEYYesPrimary key for the row.
booking_idBIGINT(20) UNSIGNEDNoForeign key to a related record.
user_idBIGINT(20) UNSIGNEDNoWordPress user ID associated with the row.
statusVARCHAR(20)NoconfirmedLifecycle status (scheduled, cancelled, completed, rejected, pending).
created_atTIMESTAMPYesCreation timestamp maintained by the ORM.
updated_atTIMESTAMPYesUpdate timestamp maintained by the ORM.

Relationships

MethodTypeTarget
booking()belongsToBooking

Public Methods (sample)

MethodSignature
booking()