BeanUtils.copyProperties(a, b);
注:
a拷贝到b:org.springframework.beans.BeanUtils
b拷贝到a:org.apache.commons.beanutils.BeanUtils
BeanUtils.copyProperties(a, b);
注:
a拷贝到b:org.springframework.beans.BeanUtils
b拷贝到a:org.apache.commons.beanutils.BeanUtils