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