refatorando model professor