package cn.wise.sc.cement.business.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

/**
 * @description: 分页查询页大小的Query对象
 * @author: qinhu
 * @create: 2019-11-05 15:40
 **/

@Data
@ApiModel
public class PageQuery implements Serializable {

	private static final long serialVersionUID = 3979320797076183357L;
	@ApiModelProperty(value = "当前所在页码")
	@NonNull
	private Integer pageNo = 1;

	@ApiModelProperty(value = "每页显示数量")
	@NonNull
	private Integer pageSize = 10;
}
