-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable.cpp
67 lines (53 loc) · 884 Bytes
/
table.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#include "table.h"
Table::Table() {}
Table::Table(QString name) {
this->name = name;
}
QString Table::getName() const
{
return name;
}
Database Table::getDatabase() const
{
return database;
}
void Table::setName(const QString &value)
{
name = value;
}
void Table::setDatabase(const Database &value)
{
database = value;
}
QString Table::getComment() const
{
return comment;
}
void Table::setComment(const QString &value)
{
comment = value;
}
QString Table::getEngine() const
{
return engine;
}
void Table::setEngine(const QString &value)
{
engine = value;
}
QString Table::getCollaction() const
{
return collaction;
}
void Table::setCollaction(const QString &value)
{
collaction = value;
}
int Table::getAutoIncrement() const
{
return autoIncrement;
}
void Table::setAutoIncrement(int value)
{
autoIncrement = value;
}