![JAR search and dependency download from the Maven repository](/logo.png)
com.github.aidensuen.mongo.pagehelper.autoconfigure.PageHelperProperties Maven / Gradle / Ivy
package com.github.aidensuen.mongo.pagehelper.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Properties;
/**
*
* pagehelper properties config
*
* @author aidensuen
*/
@ConfigurationProperties(prefix = PageHelperProperties.PAGEHELPER_PREFIX)
public class PageHelperProperties {
public static final String PAGEHELPER_PREFIX = "pagehelper";
private Properties properties = new Properties();
public Properties getProperties() {
return properties;
}
public void setPageableWithCount(String pageableWithCount) {
properties.setProperty("pageableWithCount", pageableWithCount);
}
public void setDirection(String direction) {
properties.setProperty("direction", direction);
}
public void setProcessor(String processor) {
properties.setProperty("processor", processor);
}
public void setDefaultCount(String defaultCount) {
properties.setProperty("defaultCount", defaultCount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy