btxtgxq-system-bigdata/src/main/java/com/cm/bigdata/config/properties/PartyBuildingProperties.java

65 lines
1.5 KiB
Java
Raw Normal View History

2020-12-14 22:23:26 +08:00
package com.cm.bigdata.config.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* When you feel like quitting. Think about why you started
* 当你想要放弃的时候想想当初你为何开始
*
* @ClassName: VolunteerProperties
* @Description: 系统配置
* @Author: renpc
* @Date: 2020/05/21 15:53 下午
* @Version: 1.0
**/
@Component
@ConfigurationProperties(prefix = "server-other")
public class PartyBuildingProperties {
private Integer port;
private String partyUrl;
private String title;
2020-12-17 10:16:59 +08:00
private String servicecityUrl;
2020-12-18 11:05:03 +08:00
private String logoUrl;
public String getLogoUrl() {
return logoUrl == null ? "" : logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
2020-12-17 10:16:59 +08:00
public String getServicecityUrl() {
return servicecityUrl == null ? "" : servicecityUrl;
}
public void setServicecityUrl(String servicecityUrl) {
this.servicecityUrl = servicecityUrl;
}
2020-12-14 22:23:26 +08:00
public Integer getPort() {
return port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getPartyUrl() {
return partyUrl == null ? "" : partyUrl;
}
public void setPartyUrl(String partyUrl) {
this.partyUrl = partyUrl;
}
public String getTitle() {
return title == null ? "" : title;
}
public void setTitle(String title) {
this.title = title;
}
}