Current File : //proc/thread-self/root/proc/self/root/home/tradevaly/www/app/Models/Company.php |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Illuminate\Database\Eloquent\SoftDeletes;
class Company extends Authenticatable
{
use HasFactory,SoftDeletes;
public function user(){
return $this->belongsTo(User::class);
}
}