title: Laravel relationship and get data of third table
body: <p>I have three tables:</p>
  
  <p><strong>payment</strong>: (payment_id, Fee_id)</p>
  
  <p><strong>Fees</strong>: (Fee_id, Term_id)</p>
  
  <p><strong>Term</strong>: (Term_id, Term_name)</p>
  
  <p>From the above table I need to make relationship. Then I need orm method to get data of term table values from using a payment model.
  How to make this</p>