public static Map<String, Object> beanToMap(Object bean, String... properties) {
		int mapSize = 16;
		Editor<String> keyEditor = null;
		if (ArrayUtil.isNotEmpty(properties)) {
			mapSize = properties.length;
			final Set<String> propertiesSet = CollUtil.set(false, properties);
			keyEditor = property -> propertiesSet.contains(property) ? property : null;
		}

		// 指明了要复制的属性 所以不忽略null值
		return beanToMap(bean, new LinkedHashMap<>(mapSize, 1), false, keyEditor);
	}
@Test
	public void beanToMapWithAliasTest() {
		final SubPersonWithAlias person = new SubPersonWithAlias();
		person.setAge(14);
		person.setOpenid("11213232");
		person.setName("测试A11");
		person.setSubName("sub名字");
		person.setSlow(true);
		person.setBooleana(true);
		person.setBooleanb(true);

		final Map<String, Object> map = BeanUtil.beanToMap(person);
		assertEquals("sub名字", map.get("aliasSubName"));
	}