Main Page
Classes
Files
File List
All
Classes
Functions
Variables
wx
Database
Entity.hpp
1
#ifndef ENTITY_H
2
#define ENTITY_H
3
4
class
wxString;
5
6
class
Entity
7
{
8
public
:
9
Entity
();
10
virtual
~
Entity
();
11
int
GetId()
const
;
12
void
SetId(
int
id
);
13
14
virtual
wxString GetTableName()
const
= 0;
15
virtual
wxString GetIdColumn()
const
= 0;
16
virtual
wxString GetUpdateValues()
const
= 0;
17
virtual
wxString GetInsertValues()
const
= 0;
18
protected
:
19
private
:
20
21
int
m_id;
22
};
23
24
#endif // ENTITY_H
Generated on Sat Feb 23 2013 09:37:37 by
1.8.1.2