/** * @return \yii\db\ActiveQuery */ public function getRamo() { return $this->hasOne(ProveedoresRamo::className(), ['ramoid' => 'ramo_id']); }