0
votes

I have 4 entities:

  • Movie
  • Scheduled movie
  • Ticket
  • TicketReservation Here is the er diagram: Er diagram

I designed the aggregate roots as follows:

Movie with entity scheduled movie TicketReservation with entity ticket

The problem is, the relationship between Ticket and Scheduled movie. How do I do it without breaking the rule of "an aggregate can only be referenced from the outside through its root"?