#ifndef TEST_SAMPLE_H #define TEST_SAMPLE_H #include #include #include namespace test { namespace TabPerson_ { struct Id { struct _alias_t { static constexpr const char _literal[] = "id"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T id; T& operator()() { return id; } const T& operator()() const { return id; } }; }; using _traits = sqlpp::make_traits; }; struct Name { struct _alias_t { static constexpr const char _literal[] = "name"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T name; T& operator()() { return name; } const T& operator()() const { return name; } }; }; using _traits = sqlpp::make_traits; }; struct Feature { struct _alias_t { static constexpr const char _literal[] = "feature"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T feature; T& operator()() { return feature; } const T& operator()() const { return feature; } }; }; using _traits = sqlpp::make_traits; }; } struct TabPerson: sqlpp::table_t { struct _alias_t { static constexpr const char _literal[] = "tab_person"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabPerson; T& operator()() { return tabPerson; } const T& operator()() const { return tabPerson; } }; }; }; namespace TabFeature_ { struct Id { struct _alias_t { static constexpr const char _literal[] = "id"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T id; T& operator()() { return id; } const T& operator()() const { return id; } }; }; using _traits = sqlpp::make_traits; }; struct Name { struct _alias_t { static constexpr const char _literal[] = "name"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T name; T& operator()() { return name; } const T& operator()() const { return name; } }; }; using _traits = sqlpp::make_traits; }; struct Fatal { struct _alias_t { static constexpr const char _literal[] = "fatal"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T fatal; T& operator()() { return fatal; } const T& operator()() const { return fatal; } }; }; using _traits = sqlpp::make_traits; }; } struct TabFeature: sqlpp::table_t { struct _alias_t { static constexpr const char _literal[] = "tab_feature"; using _name_t = sqlpp::make_char_sequence; template struct _member_t { T tabFeature; T& operator()() { return tabFeature; } const T& operator()() const { return tabFeature; } }; }; }; } #endif