/** * @return \yii\db\ActiveQuery */ public function getBusesIdBack() { return $this->hasOne(Buses::className(), ['id' => 'buses_id_back']); }