/** * @return \yii\db\ActiveQuery */ public function getRoute() { return $this->hasOne(Route::className(), ['route_id' => 'route_id']); }