From 7861c3ec3f0c2086b244105175ddf331c48cdba9 Mon Sep 17 00:00:00 2001 From: Hccake Date: Sat, 13 Mar 2021 12:38:52 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20Lombok=20=E5=BB=BA?= =?UTF-8?q?=E9=80=A0=E6=A8=A1=E5=BC=8F=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E5=87=BD=E6=95=B0=E9=9D=9E=20public,=20mapstruct=20?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=9E=84=E9=80=A0=E5=AE=9E=E4=BE=8B=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tool/dal/dataobject/codegen/ToolCodegenColumnDO.java | 3 ++- .../tool/dal/dataobject/codegen/ToolCodegenTableDO.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java b/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java index 2cdce8da4..f4482e3c0 100644 --- a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java +++ b/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java @@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; /** * 代码生成 column 字段定义 @@ -17,7 +18,7 @@ import lombok.EqualsAndHashCode; */ @TableName(value = "tool_codegen_column", autoResultMap = true) @Data -@Builder +@Accessors(chain = true) @EqualsAndHashCode(callSuper = true) public class ToolCodegenColumnDO extends BaseDO { diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java b/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java index 315168832..2ce0fac22 100644 --- a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java +++ b/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java @@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; /** * 代码生成 table 表定义 @@ -15,7 +16,7 @@ import lombok.EqualsAndHashCode; */ @TableName(value = "tool_codegen_table", autoResultMap = true) @Data -@Builder +@Accessors(chain = true) @EqualsAndHashCode(callSuper = true) public class ToolCodegenTableDO extends BaseDO {