32 lines
744 B
Plaintext
32 lines
744 B
Plaintext
package com.cmeim.basic.vo;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
|
|
import javax.validation.constraints.Min;
|
|
import javax.validation.constraints.NotNull;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author wuyuqi
|
|
* @since 2022/8/30 14:24
|
|
*/
|
|
@Data
|
|
@ApiModel("分页查询参数")
|
|
public class GetPageVo {
|
|
|
|
@ApiModelProperty("每页数据长度")
|
|
@NotNull(message = "每页数据长度不为空")
|
|
@Min(value = 1, message = "每页数据长度最少为1")
|
|
private Integer pageSize;
|
|
|
|
@ApiModelProperty("页码")
|
|
@NotNull(message = "页码不为空")
|
|
@Min(value = 1, message = "页码最少为1")
|
|
private Integer pageNo;
|
|
|
|
private List<String> orders;
|
|
|
|
}
|