<?php

namespace App\Models;

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

class ArchiveEntity extends Model
{
    use HasFactory;

    protected $fillable = [
        'focus',
        'related',
        'name',
        'description',
        'enabled',
    ];

    protected function casts(): array
    {
        return [
            'related' => 'array',
            'enabled' => 'boolean',
        ];
    }
}
