title: Laravel Eloquent belongsto relationship returns null
body: <p>I have two Eloquent models:</p>
  
  <p>1) Post</p>
  
  <pre><code>class Post extends Model
  {
      protected $table = 'posts';
      protected $fillable = ['id', 'user_id', 'product_id', 'site_id', 'link_id', 'body', 'created_at', 'updated_at'];
  
      public function user(){
          return $this-&gt;belongsTo(User::class);
      }
  
      public function product(){
          return $this-&gt;belongsTo(Product::class);
      }
  </code></pre>
  
  <p>2) Product</p>
  
  <pre><code>protected $table = 'products';
  protected $fillable = ['id', 'user_id', 'manufacturer_id', 'shift_product_id', 'name', 'english_name',
                          'slug', 'text', 'spec', 'live', 'created_at', 'updated_at'];
  
  public function posts(){
      return $this-&gt;hasMany(Post::class);
  }
  </code></pre>
  
  <p>I need to get the product from a post
  I do that:</p>
  
  <pre><code>$posts = Post::get();
  
  foreach($posts as $key){
      dd($key-&gt;product);
  }
  </code></pre>
  
  <p>Like this it returns NULL
  If I do like this:
   <code>dd($key-&gt;product());</code>
  I get the product but I can't to use that
  <a href="https://i.stack.imgur.com/YQK3B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YQK3B.png" alt="enter image description here"></a></p>
  
  <p>but I need to get something like that to use whant I need:</p>
  
  <p><a href="https://i.stack.imgur.com/iplXo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iplXo.png" alt="enter image description here"></a></p>