generated from 2martens/template-service
20 lines
478 B
Java
20 lines
478 B
Java
package de.twomartens.oparlservice.configs;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Data
|
|
@Configuration
|
|
@ConfigurationProperties(prefix = "de.twomartens.oparlservice")
|
|
public class OParlServiceProperties {
|
|
|
|
private final Template template = new Template();
|
|
private String url;
|
|
|
|
@Data
|
|
public static class Template {
|
|
private String greeting;
|
|
}
|
|
}
|