code: @SuppressWarnings("unchecked")
    public static <T> T populate(Class<T> clazz, String name) {
      EntityType type = null;
      if (clazz.isInterface()) {
        type = Model.getType(clazz.getName());
      } else {
        type = Model.getType(clazz);
      }
      return (T) populate(type.newInstance(), type.getEntityName(), name);
    }
docs: 将request中的参数设置到clazz对应的bean。
  
  @param clazz
  @param name