Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7e233492

Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt

  • ID 7e2334924567477f1d20fa3c03ee99fc540d0a0a
  • Vorgänger 9d05e414
  • Nachfolger 586bb527

not really productive...shit

Unterschiede anzeigen:

src/entity.h
#include <QDebug>
#include <QObject>
#include "enums/databasetype.h"
#include <QStringList>
namespace CuteEntityManager {
class Entity : public QObject {
......
virtual QString toString();
virtual ~Entity();
virtual QString getTablename();
/**
* You should return the names of properties which should not persisted e.g. Properties which are only exposed to qml
* @brief getTransientAttributes
* @return
*/
virtual QStringList getTransientAttributes();
// virtual QMap<QString, QString> getManyToManyRelations() = 0; //Key = Table, Value = joined Table Column
protected:
qint64 id;

Auch abrufbar als: Unified diff