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

È stato utile?

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
scroll top