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