droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
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
6
class
ResourceDTO
{
7
public
:
8
size_t
id
;
9
std::string
title
;
10
std::string
category
;
11
std::string
description
;
12
std::string
url
;
13
int
difficulty
;
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
};
RowDTOAdapter.hpp
ResourceDTO::description
std::string description
Definition
ResourceDTO.hpp:11
ResourceDTO::difficulty
int difficulty
Definition
ResourceDTO.hpp:13
ResourceDTO::tags
std::string tags
Definition
ResourceDTO.hpp:17
ResourceDTO::ResourceDTO
ResourceDTO()=default
ResourceDTO::creator_id
size_t creator_id
Definition
ResourceDTO.hpp:16
ResourceDTO::category
std::string category
Definition
ResourceDTO.hpp:10
ResourceDTO::title
std::string title
Definition
ResourceDTO.hpp:9
ResourceDTO::creator
std::string creator
Definition
ResourceDTO.hpp:15
ResourceDTO::id
size_t id
Definition
ResourceDTO.hpp:8
ResourceDTO::guild_id
size_t guild_id
Definition
ResourceDTO.hpp:14
ResourceDTO::url
std::string url
Definition
ResourceDTO.hpp:12
RowDTOAdapter
Definition
RowDTOAdapter.hpp:20
src
bot_library
persistence
ResourceDTO.hpp
Generated by
1.18.0