<?php

namespace App\Models;

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

class Page extends Model
{
    use HasFactory;

    protected $fillable = [
        'title',
        'slug',
        'template',
        'content',
        'sections',
        'seo',
        'published',
    ];

    protected $casts = [
        'published' => 'bool',
        'sections' => 'array',
        'seo' => 'array',
    ];
}
