18 lines
549 B
Java
18 lines
549 B
Java
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.regulartripsuggestion")
|
|
public class RegularTripSuggestionProperties {
|
|
|
|
/**
|
|
* Number of minutes a notification is send before the regular trip is usually started.
|
|
* We keep it relatively short since regular trips have a time window.
|
|
*/
|
|
private Integer notifyBeforeMinutes = 15;
|
|
}
|