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