<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Slide extends Model
{
    protected $fillable = [
        'title', 'subtitle', 'description', 'badge_text',
        'button_text', 'button_url', 'secondary_button_text', 'secondary_button_url',
        'image_url', 'vial_1_url', 'vial_2_url', 'vial_3_url', 'vial_4_url',
        'bg_color_from', 'bg_color_to',
        'is_active', 'sort_order',
    ];

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