File: /var/www/vhost/disk-apps/agile-selling-wpb/app/UserInformation.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Sucursal;
use App\User;
use App\CourierCompany;
class UserInformation extends Model
{
    protected $table = 'user_informations';
    protected $guarded  = ['id','created_at','updated_at'];
    protected $fillable = ['user_id', 'id'];
    public function sucursal(){
        return $this->belongsTo(Sucursal::class,"sucursal_id")->withTrashed();
    }
    public function company(){
        return $this->belongsTo(CourierCompany::class,"courier_company_id");
    }
    public function userInfo(){
        return $this->belongsTo(User::class);
    }
    public function user(){
        return $this->belongsTo(User::class,"user_id");
    }
}