??????????????
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;


use Illuminate\Database\Eloquent\SoftDeletes;

class Artist extends Model {

    use SoftDeletes;

    /**
    * The attributes that should be mutated to dates.
    *
    * @var array
    */
    protected $dates = ['deleted_at'];

    protected $table    = 'artist';

    protected $fillable = [
          'name',
          'body',
          'saloon_id',
          'picture',
          'categories',
          'contacts',
          'showhide'
    ];

    public function saloon()
    {
        return $this->hasOne('App\Saloon', 'id', 'saloon_id');
    }
    public function galleries(){
        return $this->hasMany('App\Galleries', 'artis