package SuMoC.backend.suggestion.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Data @Component @ConfigurationProperties(prefix = "sumoc.adhocsuggestion") public class AdHocSuggestionProperties { /** * Maximum time after which an uploaded trip is considered recent enough to send * an alternative routing suggestion for if available. */ private Integer recentTripThresholdSeconds = 60 * 60 * 6; }