Nut/__tests/auto/common/score.cpp

12 lines
266 B
C++
Raw Normal View History

2023-02-20 22:54:33 +08:00
#include "score.h"
#include "user.h"
#include "post.h"
Score::Score(QObject *parent) : NUT_WRAP_NAMESPACE(Table)(parent)
{
}
NUT_FOREIGN_KEY_IMPLEMENT(Score, Post, int, post, post, setPost)
NUT_FOREIGN_KEY_IMPLEMENT(Score, User, QUuid, author, author, setAuthor)