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 KEYYes—Primary key for the row.
booking_idBIGINT(20) UNSIGNEDNo—Foreign key to a related record.
user_idBIGINT(20) UNSIGNEDNo—WordPress user ID associated with the row.
statusVARCHAR(20)NoconfirmedLifecycle status (scheduled, cancelled, completed, rejected, pending).
created_atTIMESTAMPYes—Creation timestamp maintained by the ORM.
updated_atTIMESTAMPYes—Update timestamp maintained by the ORM.

Relationships ​

MethodTypeTarget
booking()belongsToBooking

Public Methods ​

MethodSignature
booking()—