package com.storlead.framework.common.dto.page;

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

import java.io.Serializable;

/**
 * Common pagination request DTO used as API params.
 */
@Data
public class PageDTO implements Serializable {
    private static final long serialVersionUID = 4556484214576989834L;

    @ApiModelProperty(value = "页码", example = "1")
    private Integer pageIndex = 1;

    @ApiModelProperty(value = "页面大小", example = "10")
    private Integer pageSize = 10;
}
