The issue: Entity object has it properties related to databases on its own, but the needs in the programming area is differ, sometimes we want to add it some more:
- Properties – that is for temporary logic.
- Methods – for clean code and for programming necessaries.
- Finally yet importantly – Attribute for authorization, display, filters etc.
However, obviously we do not want our program to be maintainability without needs to rewrite code just after we update the model.
Aucun commentaire:
Enregistrer un commentaire