All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bizmda.bizsip.integrator.magicapi.PageConfig Maven / Gradle / Ivy

There is a newer version: 1.0.0.Beta9
Show newest version
package com.bizmda.bizsip.integrator.magicapi;

/**
 * 分页配置
 */
public class PageConfig {

	/**
	 * 默认page参数名
	 */
	private String page = "page";

	/**
	 * 默认size参数名
	 */
	private String size = "size";

	/**
	 * 默认首页
	 */
	private long defaultPage = 1;

	/**
	 * 默认页大小
	 */
	private long defaultSize = 10;

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public long getDefaultPage() {
		return defaultPage;
	}

	public void setDefaultPage(long defaultPage) {
		this.defaultPage = defaultPage;
	}

	public long getDefaultSize() {
		return defaultSize;
	}

	public void setDefaultSize(long defaultSize) {
		this.defaultSize = defaultSize;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy