JAVA对象之间属性复制BeanUtils.copyProperties

时间:2020-09-30 18:13:38   收藏:0   阅读:149

https://blog.csdn.net/weixin_39723337/article/details/101798243

import org.springframework.beans.BeanUtils;

BeanUtils.copyProperties(源对象, 目标对象);

必须有get、set方法

 

原文:https://www.cnblogs.com/halo623/p/13755685.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!