const express = require('express');
const { authenticate } = require('../middleware/auth');
const UserNotificationController = require('../controllers/UserNotificationController');

const router = express.Router();

router.get('/', authenticate, UserNotificationController.getAll);
router.get('/unread-count', authenticate, UserNotificationController.unreadCount);
router.put('/:id/read', authenticate, UserNotificationController.markRead);

module.exports = router;
