home, modules, bannerBrand, isShowTitleInHome, actionText, actionLink, features, footer
| home |
modules |
bannerBrand |
isShowTitleInHome |
actionText |
actionLink |
features |
footer |
| true |
| BannerBrand |
| Features |
| MdContent |
| Footer |
|
| bgImage |
title |
description |
tagline |
buttons |
socialLinks |
| /bg.svg |
MapStructPlus |
可能是最简单最强大的Java Bean转换工具 |
Mapstruct Plus 是 Mapstruct 的增强工具,在 Mapstruct 的基础上,实现了自动生成 Mapper 接口的功能,并强化了部分功能,使 Java 类型转换更加便捷、优雅。 |
| text |
link |
| 快速开始 |
/introduction/quick-start |
|
| text |
link |
type |
| 常见问题 |
/guide/faq |
plain |
|
|
|
|
true |
About |
/views/other/about |
| title |
icon |
details |
| 快速 |
launch |
Java 类之间的转换,仅需要增加一个注解,减少了乏味且容易出错的开发任务 |
|
| title |
icon |
details |
| 效率 |
light |
基于注解处理器,所有生成工作都在编译期完成 |
|
| title |
icon |
details |
| 转换 |
change |
属性转换基于类中的 getter/setter 方法 |
|
| title |
icon |
details |
| 兼容 |
any |
支持JDK8~17、SpringBoot2~3 |
|
| title |
icon |
details |
| 多类转换 |
structure |
支持单个类配置多个类型转换 |
|
| title |
icon |
details |
| Map转对象 |
type |
更强大的Map转对象功能 |
|
|
|
国内站点
其他开源项目
最新版本
<dependency>
<groupId>io.github.linpeilie</groupId>
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
<version>1.4.0-R1</version>
</dependency>
implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.4.0-R1'
更新日志
1.4.0
- 优化复杂对象转换逻辑,占用元空间更小!性能更快!
- 去除 hutool 等依赖,目前项目中只依赖了 MapStruct
- 适配对象循环嵌套场景
- feature#63
AutoMapping、ReverseAutoMapping 支持 qualifiedByName、conditionQualifiedByName 和 dependsOn 属性
- issue#I93Z2Z
AutoMappings 支持配置在方法上面
1.3.6
- 兼容内部类转换
- feature : AutoMapping 注解中的 targetClass 支持配置父类
- issue#I8QPRO : 框架自动生成的 AutoMapperConfig 和 AutoMapMapper 包和类名支持配置
- issue#I8T7EF : 支持在父类中配置的 AutoMapping 注解
1.3.5
- AutoMapping、ReverseAutoMapping 支持配置在方法上面;
- AutoMapping、ReverseAutoMapping 支持 defaultExpression 和 conditionExpression 属性
……
代码仓库
参与贡献
- 贡献代码:欢迎提交 Issue 或 Pull Requests
- 维护文档:项目目录下的 docs 目录,欢迎参与翻译与修订
推荐文章
介绍视频
友情链接