Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deserialization): failed to deserialize the page object #2434

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.oceanbase.odc.service.common.model.Stats;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 分页数据,包含 列表 和 分页信息 <br>
Expand All @@ -29,6 +30,7 @@
* @param <T>
*/
@Data
@NoArgsConstructor
public class PaginatedData<T> {

private CustomPage page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package com.oceanbase.odc.service.common.response;

import lombok.NoArgsConstructor;

/**
* 分页 response
*
Expand All @@ -26,6 +28,7 @@
* @param <T>
*
*/
@NoArgsConstructor
public class PaginatedResponse<T> extends SuccessResponse<PaginatedData<T>> {

public PaginatedResponse(PaginatedData<T> data) {
Expand Down