droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
ResourceDTO.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <RowDTOAdapter.hpp>
4#include <string>
5
7 public:
8 size_t id;
9 std::string title;
10 std::string category;
11 std::string description;
12 std::string url;
14 size_t guild_id;
15 std::string creator;
16 size_t creator_id;
17 std::string tags;
18
19 ResourceDTO() = default;
20 ResourceDTO(std::string title,
21 std::string category,
22 std::string description,
23 std::string url,
24 int difficulty,
25 size_t guild_id,
26 std::string creator,
27 size_t creator_id,
28 std::string tags);
29
30 ResourceDTO(const RowDTOAdapter& row);
31};
Definition ResourceDTO.hpp:6
std::string description
Definition ResourceDTO.hpp:11
int difficulty
Definition ResourceDTO.hpp:13
std::string tags
Definition ResourceDTO.hpp:17
ResourceDTO()=default
size_t creator_id
Definition ResourceDTO.hpp:16
std::string category
Definition ResourceDTO.hpp:10
std::string title
Definition ResourceDTO.hpp:9
std::string creator
Definition ResourceDTO.hpp:15
size_t id
Definition ResourceDTO.hpp:8
size_t guild_id
Definition ResourceDTO.hpp:14
std::string url
Definition ResourceDTO.hpp:12
Definition RowDTOAdapter.hpp:20