<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

class SafetyIncident extends BaseModel
{
    protected $table = 'safety_incidents';
    protected $guarded = ['id'];
    protected $casts = ['reportedDate' => 'date', 'resolvedDate' => 'date'];

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