#ifndef __USER_H__ #define __USER_H__ #include #include class User; using AuthInfo = Wt::Auth::Dbo::AuthInfo; class User { public: template void persist(Action &a) { // Wt::Dbo::field(a, name, "name"); } // std::string name; // int age; }; DBO_EXTERN_TEMPLATES(User) #endif // __USER_H__