A good name for ValueObject that contains database update/create column values [closed]
https://softwareengineering.stackexchange.com/questions/213228
-
30-09-2020 - |
Domanda
We all know these fields, database admins so like to add:
- UserCreated & DateCreated
- UserUpdated & DateUpdated
They need to be displayed in the UI so I want to put them in some ValueObject
but I can't come up with a good name to call the class...
Soluzione
Your DBA insists on these fields because he/she wants to ensure that the user and date of the last change is recorded. This sort of tracking is called audit, and the history of these changes is an audit trail.
So how about AuditInfo
?
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a softwareengineering.stackexchange