🐛 修复 Lombok 建造模式,导致构造函数非 public, mapstruct 无法构造实例的问题

pull/2/head
Hccake 2021-03-13 12:38:52 +08:00
parent 1d7bacb6c0
commit 7861c3ec3f
2 changed files with 4 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {