2019-02-14 22:25:53 +08:00
|
|
|
#ifndef DB1_H
|
|
|
|
|
#define DB1_H
|
|
|
|
|
|
2019-02-27 00:07:14 +08:00
|
|
|
#include "database.h"
|
|
|
|
|
|
2019-02-14 22:25:53 +08:00
|
|
|
class Table1;
|
|
|
|
|
|
|
|
|
|
class DB1 : public Nut::Database
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
NUT_DB_VERSION(1)
|
|
|
|
|
|
|
|
|
|
NUT_DECLARE_TABLE(Table1, sampleTable)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
DB1();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(DB1*)
|
|
|
|
|
|
|
|
|
|
#endif // DB1_H
|