code: def to_dict(self):
          
          data = {
              "name": self.name,
              "canEdit": self.can_edit,
              "canCreate": self.can_create,
              "canDelete": self.can_delete,
              "perPage": self.per_page,
              "showPage": self.generate_data_for_show_page(),
              "editPage": self.generate_data_for_edit_page(),
              "createPage": self.generate_data_for_create_page(),
          }
  
          return data
docs: Return dict with the all base information about the instance.