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
6class 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};
Definition RowDTOAdapter.hpp:20
Definition TextDTO.hpp:6
std::string url
Definition TextDTO.hpp:11
std::string creator
Definition TextDTO.hpp:12
size_t id
Definition TextDTO.hpp:8
std::string description
Definition TextDTO.hpp:10
TextDTO()=default
std::string title
Definition TextDTO.hpp:9