Let's say I was creating the app from the book, but I wanted to add users. So I would have a WeightEntry and perhaps a User model. How would that affect WeightHistoryDocument? Would it be better to create a second class such as UserDocument and then a third class to above those to control how things are matched up? Or would be be better to add the User to the WeightHistoryDocument and duplicate all of the notifications and methods for the User in order to notify of User changes?
Let's say I was creating the app from the book, but I wanted to add users. So I would have a WeightEntry and perhaps a User model. How would that affect WeightHistoryDocument? Would it be better to create a second class such as UserDocument and then a third class to above those to control how things are matched up? Or would be be better to add the User to the WeightHistoryDocument and duplicate all of the notifications and methods for the User in order to notify of User changes?