使用Lombok子类继承父类,父类属性不生效
@Data
@Entity
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SysRights extends BaseEntity {
@Id
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid2")
private String rightsId;
private String rightsName;
private String rightsUrl;
private String rightsIcon;
}