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