droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
Loading...
Searching...
No Matches
WebUserDTO.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
class
WebUserDTO
{
18
public
:
19
size_t
id
;
20
std::string
username
;
21
std::string
password
;
22
size_t
clearance
;
23
std::string
email
;
24
std::string
confirm_code
;
25
bool
is_verified
;
26
27
WebUserDTO
() =
default
;
28
WebUserDTO
(
size_t
id
,
29
const
std::string&
username
,
30
const
std::string&
password
,
31
size_t
clearance
,
32
const
std::string&
email
,
33
const
std::string&
confirm_code
=
""
,
34
bool
is_verified
=
false
);
35
explicit
WebUserDTO
(
const
RowDTOAdapter
& row);
36
};
RowDTOAdapter.hpp
RowDTOAdapter
Definition
RowDTOAdapter.hpp:20
WebUserDTO::is_verified
bool is_verified
Definition
WebUserDTO.hpp:25
WebUserDTO::WebUserDTO
WebUserDTO()=default
WebUserDTO::clearance
size_t clearance
Definition
WebUserDTO.hpp:22
WebUserDTO::username
std::string username
Definition
WebUserDTO.hpp:20
WebUserDTO::confirm_code
std::string confirm_code
Definition
WebUserDTO.hpp:24
WebUserDTO::password
std::string password
Definition
WebUserDTO.hpp:21
WebUserDTO::email
std::string email
Definition
WebUserDTO.hpp:23
WebUserDTO::id
size_t id
Definition
WebUserDTO.hpp:19
src
bot_library
persistence
WebUserDTO.hpp
Generated by
1.18.0