<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderDeliveryAddress extends Model
{
    protected $fillable = [
        'order_id',
        'recipient_name',
        'address_line1',
        'address_line2',
        'city',
        'state',
        'postal_code',
        'country',
        'phone',
        'latitude',
        'longitude',
    ];

    public function order()
    {
        return $this->belongsTo(Order::class);
    }
}
