feat: 升级SpringBoot3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package com.youlai.system.common.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -11,12 +11,12 @@ import lombok.Data;
|
||||
* @date 2021/2/28
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
@Schema
|
||||
public class BasePageQuery {
|
||||
|
||||
@ApiModelProperty(value = "页码", example = "1")
|
||||
@Schema(description = "页码", example = "1")
|
||||
private int pageNum = 1;
|
||||
|
||||
@ApiModelProperty(value = "每页记录数", example = "10")
|
||||
@Schema(description = "每页记录数", example = "10")
|
||||
private int pageSize = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user