<?php

namespace App\Models;

use Database\Factories\FooterNavLinkFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class FooterNavLink extends Model
{
    /** @use HasFactory<FooterNavLinkFactory> */
    use HasFactory;

    protected $fillable = [
        'label',
        'url',
        'sort_order',
    ];

    protected function casts(): array
    {
        return [
            'sort_order' => 'integer',
        ];
    }
}
