From 72c49f3afa22c4f84760d57001e45a4fadf2d482 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 12 三月 2026 09:32:33 +0800
Subject: [PATCH] #升级JDK17
---
src/main/java/com/zy/common/model/PageParam.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/common/model/PageParam.java b/src/main/java/com/zy/common/model/PageParam.java
index a2f24e6..5b4e2be 100644
--- a/src/main/java/com/zy/common/model/PageParam.java
+++ b/src/main/java/com/zy/common/model/PageParam.java
@@ -1,6 +1,6 @@
package com.zy.common.model;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
/**
* 鍒嗛〉鍙傛暟
@@ -8,10 +8,10 @@
*/
public class PageParam {
- @ApiModelProperty(value="鍒嗛〉绱㈠紩",required=true)
+ @Schema(description = "鍒嗛〉绱㈠紩", requiredMode = Schema.RequiredMode.REQUIRED)
private int page = 1;
- @ApiModelProperty(value="鍗曢〉鏁伴噺",required=true)
+ @Schema(description = "鍗曢〉鏁伴噺", requiredMode = Schema.RequiredMode.REQUIRED)
private int size = 10;
public Integer getPage() {
--
Gitblit v1.9.1