package SuMoC.backend.notification.services; import SuMoC.backend.notification.factories.TrendNotificationFactory; import SuMoC.backend.notification.models.Notification; import SuMoC.backend.notification.repositories.NotificationRepository; import SuMoC.backend.trend.TrendDetection; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import java.util.List; @Service @RequiredArgsConstructor public class TrendNotificationService { private final NotificationRepository notificationRepository; private final TrendNotificationFactory trendNotificationFactory; public List generateTrendNotifications(List trendList) { List notificationList = trendList.stream().map(trendNotificationFactory::createNotification).toList(); return List.of(); } }