You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One important customization we made is to separate most of auto-generated entity code into a separate class + let code generator decide where to put them.
Here is how it works:
When there is an entity Foo, it creates an abstract class FooBase which uses protected properties for its fields (instead of private) and classic getters and setters with the default constructors.
The Foo class itself only has two constructors matching super (FooBase).
You still need KEEP SECTIONS for custom code inside Foo but this separation makes it cleaner.
It also lets overriding getters and setters for fields for custom implementations.