Nut/tests/auto/common/score.cpp

12 lines
266 B
C++
Raw Normal View History

2018-01-14 22:03:24 +08:00
#include "score.h"
2019-06-22 13:19:06 +08:00
#include "user.h"
#include "post.h"
2018-01-14 22:03:24 +08:00
Score::Score(QObject *parent) : NUT_WRAP_NAMESPACE(Table)(parent)
2018-01-14 22:03:24 +08:00
{
}
2019-06-22 13:19:06 +08:00
NUT_FOREIGN_KEY_IMPLEMENT(Score, Post, int, post, post, setPost)
NUT_FOREIGN_KEY_IMPLEMENT(Score, User, QUuid, author, author, setAuthor)