/**
  * @return \yii\db\ActiveQuery
  */
 public function getDocumentoestudio()
 {
     return $this->hasOne(Documentoestudio::className(), ['id' => 'documentoestudioid']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getDocumentoestudios()
 {
     return $this->hasMany(Documentoestudio::className(), ['documentopreid' => 'id']);
 }