Shift::class, 'fk' => 'shift_id']; } public $timestamps = false; protected $table = 'shift_waitlist'; protected $fillable = [ 'shift_id', 'person_id', 'position', 'added_at', 'notified_at', ]; protected function casts(): array { return [ 'added_at' => 'datetime', 'notified_at' => 'datetime', ]; } public function shift(): BelongsTo { return $this->belongsTo(Shift::class); } public function person(): BelongsTo { return $this->belongsTo(Person::class); } }