Question

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...

Was it helpful?

Solution

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?

Licensed under: CC-BY-SA with attribution
scroll top