<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ShopImage extends Model
{
    //
}

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ShopImage extends Model
{
    protected $fillable = [
        'shop_id',
        'image'
    ];
    
    public function shop()
    {
        retrun $this->belongsTo('App\Shop');
    }
}

Create relationship for shopimages table
feat(shopimage): Create relationship for shopimages table

Create relationship for shopimages table

see #135
