https://blog.csdn.net/weixin_39723337/article/details/101798243
import org.springframework.beans.BeanUtils; BeanUtils.copyProperties(源对象, 目标对象); 必须有get、set方法
JAVA对象之间属性复制BeanUtils.copyProperties
原文:https://www.cnblogs.com/halo623/p/13755685.html