#include "score.h" #include "user.h" #include "post.h" Score::Score(QObject *parent) : Nut::Table(parent) { } NUT_FOREIGN_KEY_IMPLEMENT(Score, Post, int, post, post, setPost) NUT_FOREIGN_KEY_IMPLEMENT(Score, User, QUuid, author, author, setAuthor)