<?php

namespace App\Models;

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

class Delivery extends Model
{
    use HasFactory;

    protected $table = 'deliveries';

    protected $fillable = [
        'examination_id',
        'status',
    ];

    // Define the relationship to the Examination model
    public function examination()
    {
        return $this->belongsTo(Examination::class);
    }
}
