| 123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.sckw.freight.model.vo.request;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import io.swagger.v3.oas.annotations.media.Schema;
- import lombok.Data;
- /**
- * @BelongsProject: Freight-Settlement-Backend
- * @BelongsPackage: com.sckw.freight.model.vo.request
- * @Author: xj
- * @CreateTime: 2025-01-09 19:55
- * @Description: 请求分页数据
- * @Version: 1.0
- */
- @JsonIgnoreProperties(ignoreUnknown = true)
- @Data
- @Schema( description = "分页查询参数")
- public class RequestPageInfo {
- private static final long serialVersionUID = 1L;
- /**
- * 当前页码
- */
- @Schema(description = "当前页码",allowableValues = "1,2,3,4,5",example = "1")
- private long page=1;
- /**
- * 每页数量
- */
- @Schema(description = "每页数量",allowableValues = "1,10,20,50,100")
- private long pageSize=10;
- /**
- * 排序字段
- */
- @Schema(description = "排序字段")
- private String sortField;
- /**
- * 排序方式
- */
- @Schema(description = "排序方式", allowableValues = "asc,desc")
- private String sortOrder;
- }
|