#ifndef PGAM_H #define PGAM_H #include "Pgsql_declare.h" #include class PgAm { public: Oid oid; QString name; PgAm(); bool operator==(Oid rhs) const { return oid == rhs; } bool operator<(Oid rhs) const { return oid < rhs; } bool operator<(const PgAm &rhs) const { return oid < rhs.oid; } }; #endif // PGAM_H