I have a diary app, which I can write diaries, edit, lock and delete them like any other app and also I can add a location to the diary.
I also have a calendar tap which I can see the days I wrote a diary on it, so if I wrote a diary on 15 march 2023 I will see a dot on this day and when I click on the day the diary will appear. I also have a map tap which I can see the diaries on the map depends on its location.
So if I have a class diagram, there will be 3 classes in this case, calendar, diary, map, I want to make a relationship between these classes.
So the question here: if I want to make a relation between the diary class and the calendar it will be aggregation right? which the diary is part of the calendar, and the diary is also part of the map so it is aggregation, right? So can I make 2 aggregation on the same class here?