<?php

namespace App\Models;

use App\Models\Concerns\HasPublicUuid;
use App\Models\Concerns\UsesUuidPrimaryKey;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class IncidentData extends Model
{
    use HasFactory, UsesUuidPrimaryKey, HasPublicUuid;

    protected $table = 'incident_data';
    protected $guarded = [];

    public function victim()
    {
        return $this->belongsTo(Victim::class, 'victimid', 'id');
    }
}
