实体类增加开启结果映射
parent
6f191f34c4
commit
20cfcc47a0
|
@ -19,7 +19,7 @@ import lombok.NoArgsConstructor;
|
|||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "asset_data_source")
|
||||
@TableName(value = "asset_data_source",autoResultMap = true)
|
||||
public class AssetDataSource {
|
||||
/**
|
||||
* 主键
|
||||
|
|
|
@ -19,7 +19,7 @@ import lombok.NoArgsConstructor;
|
|||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "children")
|
||||
@TableName(value = "children",autoResultMap = true)
|
||||
public class Children {
|
||||
/**
|
||||
* 主键
|
||||
|
|
|
@ -24,7 +24,7 @@ import lombok.experimental.SuperBuilder;
|
|||
@SuperBuilder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@TableName("data_source")
|
||||
@TableName(value = "data_source",autoResultMap = true)
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class DataSource extends BaseEntity {
|
||||
/**
|
||||
|
|
|
@ -19,7 +19,7 @@ import lombok.NoArgsConstructor;
|
|||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "table_data")
|
||||
@TableName(value = "table_data",autoResultMap = true)
|
||||
public class TableData {
|
||||
/**
|
||||
* 主键
|
||||
|
|
Loading…
Reference in New Issue