<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class HeroImage extends Model
{
    protected $fillable = [
        'page',
        'image_path',
        'title',
        'description',
        'button_text',
        'button_link',
        'sort_order',
        'is_active',
    ];

    protected $casts = [
        'is_active' => 'boolean',
        'sort_order' => 'integer',
    ];

    public static function getPages()
    {
        return [
            'home' => 'Home Page',
            'wallpaper' => 'Wallpaper Product Page',
            'mural' => 'Mural Product Page',
        ];
    }
}
