<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WebRTCSession extends Model
{
    protected $table = 'webrtc_sessions';

    protected $fillable = ['room_id', 'offer', 'answer', 'passcode'];

    protected $hidden = ['passcode'];

    protected $casts = [
        'offer' => 'array',
    ];
}
