'User Shop', 2 => 'Berater Shop', 3 => 'Berater Membership', 4 => 'Berater Wizard', ]; protected $table = 'shopping_instances'; protected $fillable = [ 'identifier', 'user_shop_id', 'auth_user_id', 'payment', 'subdomain', 'country_id' ]; public function user_shop() { return $this->belongsTo('App\Models\UserShop', 'user_shop_id'); } public function country() { return $this->belongsTo('App\Models\Country', 'country_id'); } //can null public function auth_user() { return $this->belongsTo('App\User','auth_user_id'); } }