将对象相同属于赋值于另一个对象

import org.springframework.beans.BeanUtils;

BeanUtils.copyProperties(stu2,stu1);

posted @ 2018-12-13 15:10  天毅ha  阅读(190)  评论(0编辑  收藏  举报