While talking to some work colleagues, I had an idea regarding the way entities are created and the process that ends up happening almost every time.
Regardless of the Entity about to be created, there are a few attributes that end up always being present, such as:
- CreatedAt
- UpdatedAt
- CreatedBy
- UpdatedBy
- IsActive
- "Some generic business related attribute"
(...)
The idea here consists of a small menu that allows the user to create a default “Form” that will default the generic format of each Entity created on the module he's currently working on.
With this, any Entity (Non-Static) that gets created on that module automatically “Inherits” those attributes, already defined to the correct format, w/ descriptions etc.
This behaviour should be possible to turn On/Off with ease.
Any feedback would be appreciated,
Cheers!