Skip to content

Commit

Permalink
add NoArgsConstructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ungreat committed May 20, 2024
1 parent 4687ef5 commit be197ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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

0 comments on commit be197ae

Please sign in to comment.