<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AnnouncementMessage extends Model
{
    protected $fillable = ['text', 'link', 'is_active', 'sort_order'];

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