title: Building ternary relationship using Laravel Eloquent Relationships
body: <p>Have three entities:</p>
  
  <ul>
  <li>Project</li>
  <li>Employee</li>
  <li>Employment</li>
  </ul>
  
  <p><strong>Problem description:</strong> Employee can work on many projects and for each he has one employment. I want to have access to all projects and your referred employments of a certain employee.</p>
  
  <p>I'm not sure but the relationship must look like a <em>ternary</em>:</p>
  
  <p><a href="https://i.stack.imgur.com/zWyR2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zWyR2.png" alt="enter image description here"></a></p>
  
  <p>The physical table is not defined yet. So, be free to design (most basic) them. </p>
  
  <p>And my question:</p>
  
  <p><strong>How i can build using Laravel Eloquent Relationships</strong>?</p>