Revision af84b9c4
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
samples/example/models/pupil.cpp | ||
---|---|---|
legalGuardianNote = value;
|
||
}
|
||
|
||
const QHash<QString, Relation> Pupil::getRelations() const {
|
||
auto hash = Person::getRelations();
|
||
hash.insert("groups", CuteEntityManager::Relation("groups",
|
||
RelationType::MANY_TO_MANY,
|
||
QString("pupils")));
|
||
return hash;
|
||
}
|
||
|
||
|
||
|
Auch abrufbar als: Unified diff
example update