droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
UserDTO.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <RowDTOAdapter.hpp>
4#include <string>
5
6class UserDTO {
7 public:
8 size_t user_id;
9 std::string user_name;
10 std::string color;
11 size_t exp;
13
14 UserDTO() = default;
15 UserDTO(size_t user_id,
16 const std::string& user_name,
17 const std::string& color = "00FF00",
18 size_t exp = 0,
19 size_t is_subscribed = 0);
20 UserDTO(const RowDTOAdapter& row);
21};
Definition RowDTOAdapter.hpp:20
Definition UserDTO.hpp:6
std::string color
Definition UserDTO.hpp:10
size_t user_id
Definition UserDTO.hpp:8
UserDTO()=default
std::string user_name
Definition UserDTO.hpp:9
size_t is_subscribed
Definition UserDTO.hpp:12
size_t exp
Definition UserDTO.hpp:11