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