21 lines
571 B
Java
21 lines
571 B
Java
package SuMoC.backend.carrousel.config;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Data
|
|
@Component
|
|
@ConfigurationProperties(prefix = "sumoc.alternative-carrousel")
|
|
public class CarrouselProperties {
|
|
/**
|
|
* Maximum number of alternative suggestions to show in the carrousel.
|
|
*/
|
|
private int maxCarrouselItems = 5;
|
|
|
|
/**
|
|
* Time window in days to consider recent suggestions for a user.
|
|
*/
|
|
private int recentSuggestionWindowDays = 7;
|
|
}
|