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

#include <UserDTO.hpp>

Collaboration diagram for UserDTO:

Public Member Functions

 UserDTO ()=default
 
 UserDTO (size_t user_id, const std::string &user_name, const std::string &color="00FF00", size_t exp=0, size_t is_subscribed=0)
 
 UserDTO (const RowDTOAdapter &row)
 

Public Attributes

size_t user_id
 
std::string user_name
 
std::string color
 
size_t exp
 
size_t is_subscribed
 

Constructor & Destructor Documentation

◆ UserDTO() [1/3]

UserDTO::UserDTO ( )
default

◆ UserDTO() [2/3]

UserDTO::UserDTO ( size_t user_id,
const std::string & user_name,
const std::string & color = "00FF00",
size_t exp = 0,
size_t is_subscribed = 0 )

◆ UserDTO() [3/3]

UserDTO::UserDTO ( const RowDTOAdapter & row)

Member Data Documentation

◆ color

std::string UserDTO::color

◆ exp

size_t UserDTO::exp

◆ is_subscribed

size_t UserDTO::is_subscribed

◆ user_id

size_t UserDTO::user_id

◆ user_name

std::string UserDTO::user_name

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