aboutsummaryrefslogtreecommitdiff
path: root/common/schema/embedded/order/test1.hxx
blob: 6c3d02228f020845cbdff4a00e581a8035a1590a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// file      : common/schema/embedded/order/test1.hxx
// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// 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