droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
PortalDTO.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <RowDTOAdapter.hpp>
4#include <string>
5
6/*
7CREATE TABLE public.portals (
8 id serial4 NOT NULL,
9 guild_id int8 null,
10 channel_id int8 null
11);
12*/
13class PortalDTO {
14 public:
15 size_t guild_id;
16 size_t channel_id;
17
18 PortalDTO() = default;
19 PortalDTO(size_t guild_id, size_t channel_id);
20
21 PortalDTO(const RowDTOAdapter& row);
22};
Definition PortalDTO.hpp:13
size_t channel_id
Definition PortalDTO.hpp:16
PortalDTO()=default
size_t guild_id
Definition PortalDTO.hpp:15
Definition RowDTOAdapter.hpp:20