<?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 Witness extends Model
{
    use HasFactory, UsesUuidPrimaryKey, HasPublicUuid;

    protected $guarded = [];

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