droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
ChallengeRoleDTO.hpp
Go to the documentation of this file.
1/*
2 * (c) Copyright erarnitox.de - All rights reserved
3 * Author: Erarnitox <david@erarnitox.de>
4 *
5 * License: MIT License
6 *
7 * Description:
8 *
9 * Documentation: https://droplet.erarnitox.de/doxygen/html/
10 */
11
12#pragma once
13
14#include <RowDTOAdapter.hpp>
15#include <string>
16
17//-----------------------------------------------------
18//
19//-----------------------------------------------------
21 public:
22 size_t roleId;
23 size_t guildId;
24 size_t messageId;
25 std::string solution;
26
27 ChallengeRoleDTO() = default;
28 ChallengeRoleDTO(size_t roleId, size_t guildId, size_t messageId, const std::string& solution);
29
30 explicit ChallengeRoleDTO(const RowDTOAdapter& row);
31};
size_t roleId
Definition ChallengeRoleDTO.hpp:22
size_t guildId
Definition ChallengeRoleDTO.hpp:23
size_t messageId
Definition ChallengeRoleDTO.hpp:24
ChallengeRoleDTO()=default
std::string solution
Definition ChallengeRoleDTO.hpp:25
Definition RowDTOAdapter.hpp:20