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

message.properties.ApplicationProperties Maven / Gradle / Ivy

There is a newer version: 2.5.9
Show newest version
package message.properties;

import message.config.auto.annotations.ConfigurationProperties;

/**
 * 系统配置.
 *
 * @author sunhao([email protected])
 * @version V1.0, 15/10/10 下午10:01
 */
@ConfigurationProperties(prefix = "application")
public class ApplicationProperties {
    /**
     * 开发模式
     */
    private boolean devMode;
    /**
     * 前台URL
     */
    private String frontEndUrl;
    /**
     * 服务端URL
     */
    private String serverUrl;

    public boolean isDevMode() {
        return devMode;
    }

    public void setDevMode(boolean devMode) {
        this.devMode = devMode;
    }

    public String getFrontEndUrl() {
        return frontEndUrl;
    }

    public void setFrontEndUrl(String frontEndUrl) {
        this.frontEndUrl = frontEndUrl;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy