1 #ifndef HIERARCHICALSYSTEM_H
2 #define HIERARCHICALSYSTEM_H
5 #include "database/database.h"
6 #include "exceptions/dbexception.h"
7 #include "models/billing.h"
8 #include "models/customer.h"
9 #include "models/project.h"
11 using namespace Models;
35 void getAllProjects();
41 void getAllBillings();
70 QMap<Project *, Customer> getCustomers()
const;
77 QMap<Billing *, Project*> getProjects()
const;
81 QMap<Project*, Customer> _customers;
82 QMap<Billing*, Project*> _projects;
86 #endif // HIERARCHICALSYSTEM_H
The Project class : Project linked to a Customer.
Definition: project.h:17
The Customer class Customer.
Definition: customer.h:15
The Billing class : Billing or Quote of a Customer.
Definition: billing.h:28
The HierarchicalSystem class Create class which contains hierarchical system of FactDev.
Definition: hierarchicalsystem.h:22