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