<?php

namespace App\Models\Person;

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

class PersonGroup extends Model
{
    /** @use HasFactory<\Database\Factories\Person/PersonGroupFactory> */
    use HasFactory;

    public function persons(): HasMany
    {
        return $this->hasMany(\App\Models\Person\Person::class);
    }
}
