[ 'name' => $name, 'slug' => str_slug($name), ] ); } /** * Relationships */ public function flight() { return $this->belongsTo(Flight::class, 'flight_id'); } }