// // Created by selim on 05.01.2022. // #ifndef AUTOCAT_GNOME_USER_H #define AUTOCAT_GNOME_USER_H #include #include #include class User { public: std::string email; std::string token; std::optional googleIdToken; std::optional googleRefreshToken; public: User() = default; User(const User& user) = default; User(User&&) = default; User(std::string_view email, std::string_view token); NLOHMANN_DEFINE_TYPE_INTRUSIVE(User, email, token) }; #endif //AUTOCAT_GNOME_USER_H