<?php

namespace App\Models;

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

class VehicleRental extends Model
{
    use HasFactory;

    protected $fillable = [
        'pick_up_location',
        'drop_off_location',
        'pick_up_date',
        'drop_off_date',
        'vehicle_type'
    ];

    protected $casts = [
        'pick_up_date' => 'date',
        'drop_off_date' => 'date',
    ];
}