mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-07 17:48:35 +08:00
92 lines
2.2 KiB
Markdown
92 lines
2.2 KiB
Markdown
---
|
||
home: true
|
||
icon: home
|
||
title: 主页
|
||
heroText: MapstructPlus
|
||
tagline: 可能是最简单最强大的Java Bean转换工具
|
||
actions:
|
||
- text: 快速开始 💡
|
||
link: /introduction/quick-start/
|
||
type: primary
|
||
|
||
features:
|
||
- title: 快速
|
||
icon: launch
|
||
details: Java 类之间的转换,仅需要增加一个注解,减少了乏味且容易出错的开发任务
|
||
|
||
- title: 效率
|
||
icon: light
|
||
details: 基于注解处理器,所有生成工作都在编译期完成
|
||
|
||
- title: 转换
|
||
icon: change
|
||
details: 属性转换基于类中的 getter/setter 方法
|
||
|
||
- title: 兼容
|
||
icon: any
|
||
details: 支持JDK8~17、SpringBoot2~3
|
||
|
||
- title: 多类转换
|
||
icon: structure
|
||
details: 支持单个类配置多个类型转换
|
||
|
||
- title: Map转对象
|
||
icon: type
|
||
details: 更强大的Map转对象功能
|
||
|
||
copyright: false
|
||
---
|
||
|
||
## 最新版本
|
||
|
||
- maven
|
||
|
||
```xml
|
||
<dependency>
|
||
<groupId>io.github.linpeilie</groupId>
|
||
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
|
||
<version>1.1.6</version>
|
||
</dependency>
|
||
```
|
||
|
||
- gradle
|
||
|
||
```groovy
|
||
implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.1.6'
|
||
```
|
||
|
||
## 更新日志
|
||
|
||
### 1.1.6
|
||
|
||
- 支持在添加 `AutoMapper` 的类中,配置目标类到当前类的转换规则,适配多种场景下的使用;
|
||
- `AutoMapper` 增加注解,提供可以配置是否生成转换接口的功能;
|
||
- `AutoMapping` 的 `target` 属性默认可以不填,不填则取当前字段
|
||
- 升级 mapstruct 版本为 1.5.3.FINAL
|
||
|
||
……
|
||
|
||
## 代码仓库
|
||
|
||
- [Github](https://github.com/linpeilie/mapstruct-plus)
|
||
- [Gitee](https://gitee.com/linpeilie/mapstruct-plus)
|
||
|
||
## 参与贡献
|
||
|
||
- 贡献代码:欢迎提交 Issue 或 Pull Requests
|
||
- 维护文档:项目目录下的 docs 目录,欢迎参与翻译与修订
|
||
|
||
## 推荐文章
|
||
|
||
- [彻底干掉 BeanUtils,最优雅的 Mapstruct 增强工具全新出炉](https://juejin.cn/post/7204307381688909882)
|
||
|
||
## 友情链接
|
||
|
||
- [RuoYi-Vue-Plus](https://gitee.com/JavaLionLi/RuoYi-Vue-Plus/wikis/pages)
|
||
- [RuoYi-Cloud-Plus](https://gitee.com/JavaLionLi/RuoYi-Cloud-Plus/wikis/pages)
|
||
|
||
## 联系我
|
||
|
||

|
||
|