21 lines
468 B
Java
21 lines
468 B
Java
package de.ph87.homeautomation;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Data
|
|
@Configuration
|
|
@ConfigurationProperties(prefix = "de.ph87.homeautomation")
|
|
public class Config {
|
|
|
|
private double latitude = 49.4085629;
|
|
|
|
private double longitude = 6.9645334;
|
|
|
|
private String timezone = "Europe/Berlin";
|
|
|
|
private boolean insertDemoData = false;
|
|
|
|
}
|