droplet
1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
TextDTO.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RowDTOAdapter.hpp
>
4
#include <string>
5
6
class
TextDTO
{
7
public
:
8
size_t
id
;
9
std::string
title
;
10
std::string
description
;
11
std::string
url
;
12
std::string
creator
;
13
14
TextDTO
() =
default
;
15
TextDTO
(std::string
title
, std::string
description
, std::string
url
, std::string
creator
);
16
17
TextDTO
(
const
RowDTOAdapter
& row);
18
};
RowDTOAdapter.hpp
RowDTOAdapter
Definition
RowDTOAdapter.hpp:20
TextDTO
Definition
TextDTO.hpp:6
TextDTO::url
std::string url
Definition
TextDTO.hpp:11
TextDTO::creator
std::string creator
Definition
TextDTO.hpp:12
TextDTO::id
size_t id
Definition
TextDTO.hpp:8
TextDTO::description
std::string description
Definition
TextDTO.hpp:10
TextDTO::TextDTO
TextDTO()=default
TextDTO::title
std::string title
Definition
TextDTO.hpp:9
src
bot_library
commands
texts
repositories
TextDTO.hpp
Generated by
1.12.0