<?php

namespace App\Enums;

enum BannerType: string
{
    case HeroSlider = 'hero_slider';
    case NewArrival = 'new_arrival';
    case Sale = 'sale';
    case Popup = 'popup';
    case Promotional = 'promotional';
    case Discount = 'discount';
    case CategoryBanner = 'category_banner';

    public function label(): string
    {
        return match ($this) {
            self::HeroSlider => 'Hero Slider',
            self::NewArrival => 'New Arrival',
            self::Sale => 'Sale',
            self::Popup => 'Popup Ad',
            self::Promotional => 'Promotional',
            self::Discount => 'Discount',
            self::CategoryBanner => 'Category Banner',
        };
    }
}
