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/*
7CREATE TABLE public.blacklist (
8 id serial4 NOT NULL,
9 username varchar null
10);
11*/
13 public:
14 std::string username;
15
16 BlacklistDTO() = default;
17 BlacklistDTO(std::string username);
18
19 BlacklistDTO(const RowDTOAdapter& row);
20};
Definition BlacklistDTO.hpp:12
BlacklistDTO()=default
std::string username
Definition BlacklistDTO.hpp:14
Definition RowDTOAdapter.hpp:20