File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1473,11 +1473,15 @@ public class Test {
14731473<xml >
14741474 <!-- Lombok插件 -->
14751475 <plugin type =" com.itfsw.mybatis.generator.plugins.LombokPlugin" >
1476- <!-- @Builder 必须在 Lombok 版本 >= 1.18.2 的情况下 -->
1476+ <!-- @Data 默认开启,同时插件会对子类自动附加@EqualsAndHashCode(callSuper = true),@ToString(callSuper = true) -->
1477+ <property name =" @Data" value =" true" />
1478+ <!-- @Builder 必须在 Lombok 版本 >= 1.18.2 的情况下开启,插件为了在子类Builder中未父类属性赋值,对存在继承关系的类自动替换成@SuperBuilder -->
14771479 <property name =" @Builder" value =" false" />
14781480 <!-- @NoArgsConstructor 和 @AllArgsConstructor 使用规则和Lombok一致 -->
14791481 <property name =" @AllArgsConstructor" value =" false" />
14801482 <property name =" @NoArgsConstructor" value =" false" />
1483+ <!-- @Getter、@Setter、@Accessors 等使用规则参见官方文档 -->
1484+ <property name =" @Accessors(chain = true)" value =" false" />
14811485 </plugin >
14821486</xml >
14831487```
You can’t perform that action at this time.
0 commit comments