🐛 修复 Lombok 建造模式,导致构造函数非 public, mapstruct 无法构造实例的问题
parent
1d7bacb6c0
commit
7861c3ec3f
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue