entities.hpp 405 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <glibmm/ustring.h>
  3. #include <string>
  4. namespace db {
  5. // Канал
  6. struct author {
  7. int id;
  8. std::string yt_id;
  9. Glib::ustring name;
  10. };
  11. // Видео
  12. struct video {
  13. int id;
  14. std::string yt_id;
  15. Glib::ustring title;
  16. Glib::ustring description;
  17. std::string published_at;
  18. author author_obj;
  19. };
  20. }