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