将两个对象合并成一个对象(VO)
//对象初始化
C c=new C(); A a=new A(); B b=new B();
//合并AB为C BeanUtils.copyProperties(a,c); BeanUtils.copyProperties(b,c);
//对象初始化
C c=new C(); A a=new A(); B b=new B();
//合并AB为C BeanUtils.copyProperties(a,c); BeanUtils.copyProperties(b,c);