droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
 
Loading...
Searching...
No Matches
NotificationRepository Class Reference

#include <NotificationRepository.hpp>

Inheritance diagram for NotificationRepository:
Collaboration diagram for NotificationRepository:

Public Member Functions

auto create (const NotificationDTO &object) -> bool override
 
auto remove (size_t id) -> bool override
 
auto get (size_t id) -> NotificationDTO override
 
auto update (const NotificationDTO &object) -> bool override
 
auto getAll () -> std::vector< NotificationDTO >
 

Member Function Documentation

◆ create()

auto NotificationRepository::create ( const NotificationDTO & object) -> bool
nodiscardoverridevirtual

◆ get()

auto NotificationRepository::get ( size_t id) -> NotificationDTO
nodiscardoverridevirtual

◆ getAll()

auto NotificationRepository::getAll ( ) -> std::vector<NotificationDTO>
nodiscard

◆ remove()

auto NotificationRepository::remove ( size_t id) -> bool
nodiscardoverridevirtual

◆ update()

auto NotificationRepository::update ( const NotificationDTO & object) -> bool
nodiscardoverridevirtual

The documentation for this class was generated from the following files: