<?php

namespace App\Models;

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

class DeliveryManBlockingLog extends Model
{
    use HasFactory;
    protected $fillable = ['delivery_man_id', 'type', 'reason'];

    public function deliveryMan(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(DeliveryMan::class,'delivery_man_id');
    }
}
