oparl-service/oparl-server/src/main/java/de/twomartens/oparlservice/configs/OParlServiceProperties.java

20 lines
478 B
Java
Raw Normal View History

2020-07-07 23:00:19 +02:00
package de.twomartens.oparlservice.configs;
2020-07-07 22:43:29 +02:00
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@Data
@Configuration
2020-07-07 23:00:19 +02:00
@ConfigurationProperties(prefix = "de.twomartens.oparlservice")
public class OParlServiceProperties {
2020-07-07 22:43:29 +02:00
private final Template template = new Template();
private String url;
2020-07-07 22:43:29 +02:00
@Data
public static class Template {
private String greeting;
}
}