public function getContinents() { return $this->hasOne(Continents::className(), ['code' => 'continent']); }