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

92 lines
2.2 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;
2021-01-04 14:34:39 +08:00
private String populationUrl;
2021-01-11 14:16:26 +08:00
private String deptassesstUrl;
2021-01-20 14:08:39 +08:00
private String sendUrl;
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;
}
2021-01-04 14:34:39 +08:00
public String getServicecityUrl() {
return servicecityUrl == null ? "" : servicecityUrl;
}
public void setServicecityUrl(String servicecityUrl) {
this.servicecityUrl = servicecityUrl;
}
public String getLogoUrl() {
return logoUrl == null ? "" : logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public String getPopulationUrl() {
return populationUrl == null ? "" : populationUrl;
}
public void setPopulationUrl(String populationUrl) {
this.populationUrl = populationUrl;
}
2021-01-11 14:16:26 +08:00
public String getDeptassesstUrl() {
return deptassesstUrl;
}
public void setDeptassesstUrl(String deptassesstUrl) {
this.deptassesstUrl = deptassesstUrl;
}
2021-01-20 14:08:39 +08:00
public String getSendUrl() {
return sendUrl == null ? "" : sendUrl;
}
public void setSendUrl(String sendUrl) {
this.sendUrl = sendUrl;
}
2020-12-14 22:23:26 +08:00
}