<?php

namespace App\Models;

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

class District extends Model
{
    protected $fillable = ['name'];

    public function clubs(): HasMany
    {
        return $this->hasMany(Club::class);
    }

    public function members(): HasMany
    {
        return $this->hasMany(Member::class);
    }
}
