Nut/test/common/post.cpp

12 lines
230 B
C++
Raw Normal View History

2018-01-09 01:07:26 +08:00
#include "post.h"
2016-05-12 14:08:58 +08:00
#include "comment.h"
#include "tableset.h"
Post::Post(QObject *parent) : Table(parent),
m_id(0), m_title(""), m_comments(new TableSet<Comment>(this))
2016-05-12 14:08:58 +08:00
{
}
2018-01-09 05:44:01 +08:00
NUT_IMPLEMENT_CHILD_TABLE(Post, Comment, comments)