title: Domain Driven Design - Product Inventory, What should I do?
body: <p>I am modeling a common application that has products and stores.</p>
  
  <p>A product can have a quantity in stock in n stores and a store can keep stock of various products.</p>
  
  <p>That is, a relationship n to n:</p>
  
  <p><img src="https://i.stack.imgur.com/r16OA.png" alt="enter image description here"></p>
  
  <p>In my model, both Product and Store are aggregate roots.</p>
  
  <p>I can not relate how would this relationship in my class model using DDD.</p>
  
  <p>The update of the stock would be done by Store or Product?</p>
  
  <p>ProductInventory should be a new Aggregate root?</p>