droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
 
Loading...
Searching...
No Matches
WebUserDTO Class Reference

#include <WebUserDTO.hpp>

Collaboration diagram for WebUserDTO:

Public Member Functions

 WebUserDTO ()=default
 
 WebUserDTO (size_t id, const std::string &username, const std::string &password, size_t clearance, const std::string &email, const std::string &confirm_code="", bool is_verified=false)
 
 WebUserDTO (const RowDTOAdapter &row)
 

Public Attributes

size_t id
 
std::string username
 
std::string password
 
size_t clearance
 
std::string email
 
std::string confirm_code
 
bool is_verified
 

Constructor & Destructor Documentation

◆ WebUserDTO() [1/3]

WebUserDTO::WebUserDTO ( )
default

◆ WebUserDTO() [2/3]

WebUserDTO::WebUserDTO ( size_t id,
const std::string & username,
const std::string & password,
size_t clearance,
const std::string & email,
const std::string & confirm_code = "",
bool is_verified = false )

◆ WebUserDTO() [3/3]

WebUserDTO::WebUserDTO ( const RowDTOAdapter & row)

Member Data Documentation

◆ clearance

size_t WebUserDTO::clearance

◆ confirm_code

std::string WebUserDTO::confirm_code

◆ email

std::string WebUserDTO::email

◆ id

size_t WebUserDTO::id

◆ is_verified

bool WebUserDTO::is_verified

◆ password

std::string WebUserDTO::password

◆ username

std::string WebUserDTO::username

The documentation for this class was generated from the following files: