字段相同
BeanUtils.copyProperties(item, dto);
字段不同
通过mapstruct,定义不同的字段名字
https://blog.csdn.net/weixin_55806809/article/details/125347999
标签:实体类,转换,mapstruct,55806809,csdn,java From: https://www.cnblogs.com/seekwind/p/17215755.html
BeanUtils.copyProperties(item, dto);
通过mapstruct,定义不同的字段名字
https://blog.csdn.net/weixin_55806809/article/details/125347999
标签:实体类,转换,mapstruct,55806809,csdn,java From: https://www.cnblogs.com/seekwind/p/17215755.html