2016-05-12 14:08:58 +08:00
|
|
|
#include "comment.h"
|
2019-06-22 13:19:06 +08:00
|
|
|
#include "post.h"
|
|
|
|
|
#include "user.h"
|
2016-05-12 14:08:58 +08:00
|
|
|
|
2019-06-22 05:02:37 +08:00
|
|
|
Comment::Comment(QObject *parent) : Table(parent)
|
2016-05-12 14:08:58 +08:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2019-06-22 13:19:06 +08:00
|
|
|
|
|
|
|
|
NUT_FOREIGN_KEY_IMPLEMENT(Comment, Post, int, post, post, setPost)
|
|
|
|
|
NUT_FOREIGN_KEY_IMPLEMENT(Comment, User, int, author, author, setAuthor)
|