/** * @return ActiveQuery */ public function getTour() { return $this->hasOne(TourRecord::className(), ['id' => 'tour_id']); }