2018-01-09 01:07:26 +08:00
|
|
|
#include "comment.h"
|
2018-01-14 22:03:24 +08:00
|
|
|
#include "score.h"
|
|
|
|
|
|
|
|
|
|
#include "user.h"
|
2018-01-09 01:07:26 +08:00
|
|
|
|
2018-01-09 00:59:16 +08:00
|
|
|
User::User(QObject *tableSet) : Table(tableSet),
|
2018-01-14 22:03:24 +08:00
|
|
|
m_comments(new TableSet<Comment>(this)),
|
|
|
|
|
m_scores(new TableSet<Score>(this))
|
2018-01-09 00:59:16 +08:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2018-01-09 05:44:01 +08:00
|
|
|
|
|
|
|
|
NUT_IMPLEMENT_CHILD_TABLE(User, Comment, comments)
|