<?php

namespace App\Models;

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

class ReturnVehicle extends Model
{
    use HasFactory;

    protected $table = 'returns';

    protected $fillable = [
        'vehicle_request_id',
        'fuel_cost',
        'fuel_receipt',
        'return_photo',
        'notes',
        'status',
        'submitted_at',
    ];

    public function vehicleRequest()
    {
        return $this->belongsTo(VehicleRequest::class);
    }
}