<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class DirectParticipant extends Model
{
    protected $table = 'meet_direct_participants';

    protected $fillable = ['conversation_id', 'user_ref'];

    public function conversation(): BelongsTo
    {
        return $this->belongsTo(DirectConversation::class, 'conversation_id');
    }
}
