mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-08 10:08:47 +08:00
update docs
This commit is contained in:
parent
10d02621dc
commit
05a5fd3034
@ -10,7 +10,8 @@ MapStructPlus 提供了多个配置项,来指定生成转换接口时的一些
|
||||
|
||||
## 使用方式
|
||||
|
||||
在需要进行配置的模块中,新建配置类,在该类上面增加注解:`@MapperConfig`,在一个模块中,只能有一个有该注解的类。
|
||||
在需要进行配置的模块中,新建配置类,在该类上面增加注解:`@MapperConfig`,**在一个模块中,只能有一个有该注解的类**。
|
||||
同时,还要注意**配置类一定要放在要生效的模块中**
|
||||
|
||||
例如:
|
||||
|
||||
|
||||
@ -236,6 +236,10 @@ public class QuickStartTest {
|
||||
|
||||
## Solon
|
||||
|
||||
:::info
|
||||
since `1.2.5`
|
||||
:::
|
||||
|
||||
### 添加依赖
|
||||
|
||||
引入 `mapstruct-plu-solon-plugin` 依赖
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user