code: public static <T> T toBean(Object source, Class<T> clazz) {
  		final T target = ReflectUtil.newInstance(clazz);
  		copyProperties(source, target);
  		return target;
  	}
docs: 对象或Map转Bean
  
  @param source Bean对象或Map
  @param clazz 目标的Bean类型
  @return Bean对象
  @since 4.1.20