GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
EmployeesModel.h
Go to the documentation of this file.
1#line 2 "src/Eng/EmployeesModel.h"
2
3#ifndef __ENG_EMPLOYEESMODEL_H___
4#define __ENG_EMPLOYEESMODEL_H___
5
6#include <Wt/WStandardItemModel.h>
7#include <Wt/Dbo/QueryModel.h>
8
9#include "../Dbo/Employees/Employees.h"
10
11namespace GCW {
12 namespace Eng {
13
15: public Wt::Dbo::QueryModel< GCW::Dbo::Employees::Item::Ptr >
16{
17 public:
18
20 EmployeesModel( const std::vector< Wt::WFormModel::Field > & _fields );
21
22 auto refreshFromDisk()-> void ;
23
24 private:
25
26 std::vector< Wt::WFormModel::Field > m_fields;
27
28}; // endclass EmployeesModel
29
30 } // namespace Eng {
31} // endnamespace GCW {
32
33
34#endif // #ifndef __ENG_EMPLOYEESMODEL_H___
35
36
37
std::vector< Wt::WFormModel::Field > m_fields
auto refreshFromDisk() -> void
Refresh From Disk.
Definition App.h:18