title: Which is the best way to separate aggregate in DDD
body: <p>I'm learning about DDD, I don't clear about how to separate objects into aggregate.</p>
  
  <p><strong>An example:</strong> </p>
  
  <p>I have 3 objects: company, shop, job.</p>
  
  <p>And i have some relationships: one company has many shops and one shop has many jobs.</p>
  
  <p><strong>I thinks:</strong> </p>
  
  <p>A shop can't exist without company. And a company have to has shops, it's real world. So that, i group company and shop into one aggregate.</p>
  
  <p>Job is another aggregate.</p>
  
  <p><strong>Another thought</strong></p>
  
  <p>When getting a job, i always care about which shop this job belongs to. 
  So that, i group: shop and job into one aggregate.</p>
  
  <p>Company is another aggregate.</p>
  
  <p>Which way is right?</p>
  
  <p>Thanks</p>