网站首页
编程语言
数据库
系统相关
其他分享
编程问答
entiy
2024-06-11
巧妙使用mapstruct来解决数据库entiy到实体dto的映射关系
1.引入mapstruct<dependency><groupId>org.mapstruct</groupId><artifactId>mapstruct</artifactId></dependency><dependency><groupId>org.mapstruct</groupId><artifactId>mapstruct-p