droplet
1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
BlacklistDTO.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RowDTOAdapter.hpp
>
4
#include <string>
5
6
/*
7
CREATE TABLE public.blacklist (
8
id serial4 NOT NULL,
9
username varchar null
10
);
11
*/
12
class
BlacklistDTO
{
13
public
:
14
std::string
username
;
15
16
BlacklistDTO
() =
default
;
17
BlacklistDTO
(std::string
username
);
18
19
BlacklistDTO
(
const
RowDTOAdapter
& row);
20
};
RowDTOAdapter.hpp
BlacklistDTO
Definition
BlacklistDTO.hpp:12
BlacklistDTO::BlacklistDTO
BlacklistDTO()=default
BlacklistDTO::username
std::string username
Definition
BlacklistDTO.hpp:14
RowDTOAdapter
Definition
RowDTOAdapter.hpp:20
src
bot_library
commands
portal
repositories
BlacklistDTO.hpp
Generated by
1.12.0