Closed byronv5 closed 8 months ago
@Data class BaseEntity { private String a; private String b; } @Data class AClass extends BaseEntity { @Id private Integer id; private String d; } cause the property id is not in the BaseEntity,the source code only handle the most super clazz
@Data class BaseEntity { private String a; private String b; } @Data class AClass extends BaseEntity { @Id private Integer id; private String d; }
The ‘id’ attribute must be placed in the base class; otherwise, it cannot be retrieved
@Data class BaseEntity { private String a; private String b; } @Data class AClass extends BaseEntity { @Id private Integer id; private String d; }
cause the property id is not in the BaseEntity,the source code only handle the most super clazz