entities.hpp 371 B

123456789101112131415161718192021
  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. author author_obj;
  18. };
  19. }