GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Dbo
Users
User.h
Go to the documentation of this file.
1
#line 2 "src/Dbo/Users/User.h"
2
3
#ifndef __DBO_USERS_H___
4
#define __DBO_USERS_H___
5
6
#include <Wt/Dbo/Types.h>
7
#include <Wt/WGlobal.h>
8
9
#include "../BaseItem.h"
10
#include "
Definition.h
"
11
12
namespace
GCW
{
13
namespace
Dbo {
14
namespace
Users {
15
16
class
Item
17
:
public
GCW::Dbo::BaseItem
< Item >
18
{
19
public
:
20
21
Item
(){}
22
23
template
<
class
Action>
24
auto
persist
( Action & a )->
void
25
{
26
Wt::Dbo::field
( a,
m_employee_guid
,
Field::employee_guid
, 32 );
// text(32) NOT NULL
27
}
28
29
std::string
m_employee_guid
;
30
31
};
32
33
}
// endnamespace Users
34
}
// endnamespace Dbo
35
}
// endnamespace GCW
36
37
DBO_EXTERN_TEMPLATES(
GCW::Dbo::Users::Item
)
38
39
#endif
// __DBO_USERS_H___
40
41
42
Definition.h
GCW::Dbo::BaseItem
Definition
BaseItem.h:36
GCW::Dbo::Users::Item
Definition
User.h:18
GCW::Dbo::Users::Item::persist
auto persist(Action &a) -> void
Definition
User.h:24
GCW::Dbo::Users::Item::Item
Item()
Definition
User.h:21
GCW::Dbo::Users::Item::m_employee_guid
std::string m_employee_guid
Definition
User.h:29
Wt::Dbo::field
void field(Action &action, V &value, const std::string &name, int size=-1)
GCW::Dbo::Users::Field::employee_guid
const Wt::WFormModel::Field employee_guid
Definition
User.cpp:8
GCW
Definition
App.h:18
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8