<?php

namespace App\Models;

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

class LocalDeliveryPoint extends Model
{
    use HasFactory;

    protected $fillable = [
        'zone_id',
        'name',
        'lat',
        'lng',
        'extra_charge',
    ];

    public function zone()
    {
        return $this->belongsTo(LocalDeliveryZone::class, 'zone_id');
    }
}
