I’m designing a software. I want to store the times a user visits a place, and I want to show a visit history for that user or place.
I think, visit is a class, and visit history, is it a class? I don’t know how to represent visit history on my UML model.
Thank you.
Visit history is merely a collection of visits in the past. You could represent a GetVisitsBetweenDates(DateTime start, DateTime end) method on the visit class.