Current File : /home/tradevaly/new.tradevaly.com.bd/app/Models/QuoteMessage.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;
class QuoteMessage extends Authenticatable
{
use HasFactory;
public function sender(){
return $this->belongsTo(User::class);
}
public function thread(){
return $this->belongsTo(Thread::class);
}
public function receiver(){
return $this->belongsTo(User::class);
}
}