Added enum SubCategoria and fixed compile errors