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

#include <ResourceDTO.hpp>

Collaboration diagram for ResourceDTO:

Public Member Functions

 ResourceDTO ()=default
 ResourceDTO (std::string title, std::string category, std::string description, std::string url, int difficulty, size_t guild_id, std::string creator, size_t creator_id, std::string tags)
 ResourceDTO (const RowDTOAdapter &row)

Public Attributes

size_t id
std::string title
std::string category
std::string description
std::string url
int difficulty
size_t guild_id
std::string creator
size_t creator_id
std::string tags

Constructor & Destructor Documentation

◆ ResourceDTO() [1/3]

ResourceDTO::ResourceDTO ( )
default

◆ ResourceDTO() [2/3]

ResourceDTO::ResourceDTO ( std::string title,
std::string category,
std::string description,
std::string url,
int difficulty,
size_t guild_id,
std::string creator,
size_t creator_id,
std::string tags )

◆ ResourceDTO() [3/3]

ResourceDTO::ResourceDTO ( const RowDTOAdapter & row)

Member Data Documentation

◆ category

std::string ResourceDTO::category

◆ creator

std::string ResourceDTO::creator

◆ creator_id

size_t ResourceDTO::creator_id

◆ description

std::string ResourceDTO::description

◆ difficulty

int ResourceDTO::difficulty

◆ guild_id

size_t ResourceDTO::guild_id

◆ id

size_t ResourceDTO::id

◆ tags

std::string ResourceDTO::tags

◆ title

std::string ResourceDTO::title

◆ url

std::string ResourceDTO::url

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