<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Booking extends Model
{
    use HasFactory;

    protected $fillable = [
        'slot_id',
        'date',
        'student_name',
        'booked_from_page',
        'message',
        'status',
    ];

    public function slot()
    {
        return $this->belongsTo(Slot::class);
    }
}