| Wt examples
    3.3.0
    | 
#include <User.h>

| Public Member Functions | |
| User () | |
| template<class Action > | |
| void | persist (Action &a) | 
| Public Attributes | |
| std::string | name | 
| int | gamesPlayed | 
| long long | score | 
| Wt::WDateTime | lastGame | 
| Wt::Dbo::collection < Wt::Dbo::ptr< AuthInfo > > | authInfos | 
| User::User | ( | ) | 
Definition at line 17 of file User.C.
: gamesPlayed(0), score(0) { }
| void User::persist | ( | Action & | a | ) |  [inline] | 
Definition at line 34 of file User.h.
  {
    Wt::Dbo::field(a, gamesPlayed, "gamesPlayed");
    Wt::Dbo::field(a, score, "score");
    Wt::Dbo::field(a, lastGame, "lastGame");
    Wt::Dbo::hasMany(a, authInfos, Wt::Dbo::ManyToOne, "user");
  }
| std::string User::name | 
| long long User::score | 
 1.7.5.1
 1.7.5.1