package com.dingzhuo.energy.framework.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author fanxinfu
|
*/
|
@Component
|
@ConfigurationProperties(prefix = "rtdb")
|
public class RtdbConfig {
|
public String host;
|
public Integer port;
|
public String user;
|
public String password;
|
|
public String getHost() {
|
return host;
|
}
|
|
public void setHost(String host) {
|
this.host = host;
|
}
|
|
public Integer getPort() {
|
return port;
|
}
|
|
public void setPort(Integer port) {
|
this.port = port;
|
}
|
|
public String getUser() {
|
return user;
|
}
|
|
public void setUser(String user) {
|
this.user = user;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
}
|