Spring中BeanUtils的copyProperties使用总结
准备
单独使用spring的BeanUtils的话,需要准备如下
spring-bean包和spring-core包
代码
Person类:要被赋值的类
public class Person{
private Telephone telephone;
public Telephone getTelephone() {
return telephone;
...
原创
2019-10-11 19:50:40 ·
374 阅读 ·
0 评论