简单记录,对象复制


import org.springframework.beans.BeanUtils;

# bean2 是新建的空对象 BeanUtils.copyProperties(bean1, bean2);
原文地址:https://www.cnblogs.com/cjh-notes/p/14458547.html