<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BookingLivestream extends Model
{
    protected $table = 'booking_livestreams';

    protected $fillable = [
        'booking_id', 'sample_type', 'deal_live_registration'
    ];

    protected $casts = [
        'sample_type' => 'string',
        'deal_live_registration' => 'string',
    ];

    public function booking()
    {
        return $this->belongsTo(Booking::class, 'booking_id', 'id');
    }
}
