diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java new file mode 100644 index 00000000..da587f4f --- /dev/null +++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java @@ -0,0 +1,18 @@ +package com.genersoft.iot.vmp.conf; + +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Configuration; + +@Configuration("userSetup") +public class UserSetup { + @Value("${userSettings.savePositionHistory}") + boolean savePositionHistory; + + public boolean getSavePositionHistory() { + return savePositionHistory; + } + + public void setSavePositionHistory(boolean savePositionHistory) { + this.savePositionHistory = savePositionHistory; + } +}