Photochemical preparation of magnetic chitosan beads for immobilization of pullulanase