#ifndef MODELS_H_ #define MODELS_H_ #include #include namespace Model { struct Song { int id; std::string title; std::string artist; std::string album; std::string genre; int year; int duration; int track; int disc; std::string songPath; std::vector data; int coverArtId; }; struct Album { int id; std::string title; int year; std::vector songs; }; struct Cover { int id; std::string songTitle; std::string imagePath; // Not being used but it should be std::vector data; }; struct LoginRes { int UserId; char Username[1024]; char Token[1024]; char TokenType[1024]; char Message[1024]; int Expiration; }; struct loginResult { int user_id; std::string username; std::string access_token; std::string token_type; std::string message; int expiration; }; struct auth_credentials { std::string domain; std::string api_identifier; std::string client_id; std::string client_secret; std::string uri; std::string endpoint; }; struct database_connection { std::string server; std::string username; std::string password; std::string database; }; } #endif