droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
BlacklistDTO.hpp
Go to the documentation of this file.
1/*
2 * (c) Copyright erarnitox.de - All rights reserved
3 * Author: Erarnitox <david@erarnitox.de>
4 *
5 * License: MIT License
6 *
7 * Description:
8 *
9 * Documentation: https://droplet.erarnitox.de/doxygen/html/
10 */
11
12#pragma once
13
14#include <RowDTOAdapter.hpp>
15#include <string>
16
17/*
18CREATE TABLE public.blacklist (
19 id serial4 NOT NULL,
20 username varchar null
21);
22*/
23
24//-----------------------------------------------------
25//
26//-----------------------------------------------------
28 public:
29 std::string username;
30
31 BlacklistDTO() = default;
32 explicit BlacklistDTO(std::string username);
33
34 explicit BlacklistDTO(const RowDTOAdapter& row);
35};
BlacklistDTO()=default
std::string username
Definition BlacklistDTO.hpp:29
Definition RowDTOAdapter.hpp:20