package com.example.demo.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.example.demo.common.APIResponse;
import com.example.demo.dto.NotificationDepositeDTO;
import com.example.demo.service.NotificationService;

@Service
public class NotificationServiceImpl implements NotificationService{

	@Override
	public APIResponse deposite() {
		APIResponse api = new APIResponse();
	    
		List<String> value = new ArrayList<>();
		value.add("5 Users Are Signed Up");
		value.add("2 Advertisers Are Deposited Fund");
		value.add("3 Publisher Payments Awaiting For Approval");
		
		NotificationDepositeDTO response = new NotificationDepositeDTO();
	    response.setDeposite_msg(value);
	    
		api.setData(response);
		api.setMessage("Notification Get Successfully");
		api.setMsgCode("NOTIFICATION GET SUCCESSFULLY");
		return api;
	}
	

	
    
}
