<?php

namespace App\Models;

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

class HarborAuthority extends Model
{
    use HasFactory;

    protected $fillable = [
        'code',
        'name',
        'tel',
        'fax',
    ];

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