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::Table(parent)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
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)
|