droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
LogChannelRepository.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <IRepository.hpp>
4
5#include "LogChannelDTO.hpp"
6
7class LogChannelRepository : public IRepository<LogChannelDTO> {
8 public:
9 [[nodiscard]] bool create(const LogChannelDTO& object) override;
10
11 [[nodiscard]] bool remove(size_t guild_id) override;
12
13 [[nodiscard]] LogChannelDTO get(size_t guild_id) override;
14
15 [[nodiscard]] bool update(const LogChannelDTO& object) override;
16};
Definition IRepository.hpp:5
Definition LogChannelDTO.hpp:6
Definition LogChannelRepository.hpp:7
bool create(const LogChannelDTO &object) override
Definition LogChannelRepository.cpp:9
LogChannelDTO get(size_t guild_id) override
Definition LogChannelRepository.cpp:52
bool remove(size_t guild_id) override
Definition LogChannelRepository.cpp:28
bool update(const LogChannelDTO &object) override
Definition LogChannelRepository.cpp:38