/** * @return \yii\db\ActiveQuery */ public function getCdcidade0() { return $this->hasOne(Cidade::className(), ['cdcidade' => 'cdcidade']); }