docs: public static Object setBeanProperties(MetaClass mc, Object bean, Map properties) {
          for (Iterator iter = properties.entrySet().iterator(); iter.hasNext();) {
              Map.Entry entry = (Map.Entry) iter.next();
              String key = entry.getKey().toString();
  
              Object value = entry.getValue();
              mc.setProperty(bean, key, value);
          }
          return bean;
      }