aboutsummaryrefslogtreecommitdiff
path: root/common/schema/embedded/order/test1.hxx
blob: b35074bfd3dd2656027f9befcafd1ca9705b7082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// file      : common/schema/embedded/order/test1.hxx
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef TEST1_HXX
#define TEST1_HXX

#include <string>

#include <odb/core.hxx>

#pragma db object polymorphic
struct base
{
  virtual
  ~base () {}

  #pragma db auto id
  unsigned long id;

  std::string str;
};

#endif // TEST1_HXX