92 lines
2.2 KiB
Java
92 lines
2.2 KiB
Java
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;
|
|
private String servicecityUrl;
|
|
private String logoUrl;
|
|
private String populationUrl;
|
|
private String deptassesstUrl;
|
|
private String sendUrl;
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
public String getDeptassesstUrl() {
|
|
return deptassesstUrl;
|
|
}
|
|
|
|
public void setDeptassesstUrl(String deptassesstUrl) {
|
|
this.deptassesstUrl = deptassesstUrl;
|
|
}
|
|
|
|
public String getSendUrl() {
|
|
return sendUrl == null ? "" : sendUrl;
|
|
}
|
|
|
|
public void setSendUrl(String sendUrl) {
|
|
this.sendUrl = sendUrl;
|
|
}
|
|
}
|