<?php

namespace App\Models\Claim;

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

/**
 * A Scottish local authority. The "Local Authority" of a care setting is the
 * council that owns the setting's area. Reference data (see ScotlandAreasSeeder).
 */
class Council extends Model
{
    protected $fillable = ['name'];

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