title: Laravel eloquent relation with 4 tables
body: <p>So basically, I have 4 tables.</p>
  
  <p>Table 1: Fylker (Counties)
  Table 2: Kommuner (Municipalities)
  Table 3: Poststed (Postal)
  Table 4: Postnumre (Zip)</p>
  
  <p>I'm currently using Laravel 5.3 and the databases are setup and seeded.
  Now, what I'm wondering about, should I use 4 different models for this?
  Every table has relations to the previous.</p>
  
  <p>What I want is to get a row from Fylker, then use some relation to get the Kommuner associated with the Fylke, and with another relation get all associated Poststeder and another relation to get all the Postnumre.</p>
  
  <p>Something like this is what I want to achieve:</p>
  
  <pre><code>$fylke -&gt; kommuner -&gt; poststeder -&gt; postnumre;
  </code></pre>
  
  <p>How would I do this? </p>
  
  <p><a href="https://i.stack.imgur.com/c7roA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7roA.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/cNSSh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cNSSh.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/4aVOz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4aVOz.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/pCJU9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pCJU9.png" alt="enter image description here"></a></p>