<?php

namespace App\Models;

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

class Slider extends Model
{
    use HasFactory;

    protected $fillable = [
        'tag',
        'title',
        'subtitle',
        'image_path',
        'button_text',
        'link_url',
        'bg_gradient',
        'tag_color',
        'accent_text',
        'accent_gradient',
        'order',
        'is_active',
    ];

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