Older/Database/User.h

21 lines
359 B
C
Raw Permalink Normal View History

2024-11-11 19:21:48 +08:00
#ifndef __USER_H__
#define __USER_H__
#include <Wt/Auth/Dbo/AuthInfo.h>
class User;
using AuthInfo = Wt::Auth::Dbo::AuthInfo<User>;
class User {
public:
2025-01-09 22:23:03 +08:00
User() = default;
User(const Wt::Auth::User &user);
2024-11-11 19:21:48 +08:00
template <class Action>
void persist(Action &a) {
}
2025-01-09 22:23:03 +08:00
std::string identity;
2024-11-11 19:21:48 +08:00
};
DBO_EXTERN_TEMPLATES(User);
#endif // __USER_H__