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