package com.avitam.bankloanapplication.service;

import com.avitam.bankloanapplication.model.dto.NotificationWsDto;
import com.avitam.bankloanapplication.model.entity.Notification;

import java.util.Optional;

public interface NotificationService {

    Optional<Notification> findNotificationById(String id);

    NotificationWsDto handleEdit(NotificationWsDto request);

    void sendNotificationToCustomer(String title, String message, String customerId);

    void sendNotificationAdmin(String title, String message, String userId);

    void sendNotificationById(String loanApproved, String s, String customerId);

}
