/** * @return \yii\db\ActiveQuery */ public function getCiudad0() { return $this->hasOne(Ciudad::className(), ['idciudad' => 'ciudad']); }