<?php

namespace App\Models;

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

class TrackingUpdate extends Model
{
    protected $fillable = [
        'shipment_id',
        'location',
        'status',
        'latitude',
        'longitude',
        'description'
    ];

    public function shipment()
    {
        return $this->belongsTo(Shipment::class);
    }
}
