-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathprojectentity.h
More file actions
executable file
·46 lines (43 loc) · 844 Bytes
/
projectentity.h
File metadata and controls
executable file
·46 lines (43 loc) · 844 Bytes
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
#ifndef PROJECTENTITY_H
#define PROJECTENTITY_H
#include <QString>
#include <vector>
class TaskItem{
public:
QString id;
QString content;
QString level;
QString date;
QString author;
};
class Task{
public:
std::vector<TaskItem> undo;
std::vector<TaskItem> doing;
std::vector<TaskItem> done;
};
class Mark{
public:
QString id;
QString level;
QString content;
QString row;
QString date;
QString author;
};
class Source{
public:
QString src;
std::vector<Mark> mark;
};
class ProjectEntity
{
public:
ProjectEntity();
QString version;
QString projectname;
std::vector<Source> source;
std::vector<Source> header;
Task task;
};
#endif // PROJECTENTITY_H