<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

class MaterialRequest extends BaseModel
{
    protected $guarded = ['id'];
    protected $casts = ['materials' => 'array', 'requestDate' => 'date'];

    public function project(): BelongsTo { return $this->belongsTo(Project::class); }
}
