package fcb.project.manager.base.param;

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

import javax.validation.constraints.NotBlank;

/**
 * @author Admin
 */
@Data
public class PageParam {

    @ApiModelProperty(name = "pageNum", value = "pageNum", required = true, dataType = "Integer")
    @NotBlank(message = "pageNum不能为空")
    private Integer pageNum;

    @ApiModelProperty(name = "pageSize", value = "pageSize", required = true, dataType = "Integer")
    @NotBlank(message = "pageSize不能为空")
    private Integer pageSize;
}
