Q_PROPERTY for DTO class
-
Is there any benefit to making use of Q_PROPERTY in a simple DTO class (Data Transfer Object)? eg class Person with the attributes: name, age, sex, ...
-
Hi,
It will really depend on the use of that class
-
The use is only persistence in SGDB PostgreSQL
-
Unless you are using something like "QxORM":http://www.qxorm.com/qxorm_en/home.html i don't think you really need that