lundi 22 mai 2017

Pattern for attribute values history

There is any pattern that allows me to save the historical values of an attribute?

Image that I have an object:

public class Object {
   public State state;
}

Every time I change the value of state I should store the date of the change and the author?

How is the best way to store these values? Should I use an auxiliary table?

Aucun commentaire:

Enregistrer un commentaire