<?php

namespace App\Models;

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

class SessionFeedback extends Model
{
    protected $table = 'meet_session_feedback';

    protected $fillable = [
        'session_id',
        'participant_uuid',
        'display_name',
        'user_ref',
        'rating',
        'audio_rating',
        'video_rating',
        'comment',
    ];

    public function session(): BelongsTo
    {
        return $this->belongsTo(Session::class, 'session_id');
    }
}
