Magnetic formwork accessories for prefabricated building