<?php

namespace App\Enums;

enum CourseBadge: string
{
    case Popular = 'popular';
    case MostPreferred = 'most_preferred';
    case New = 'new';
    case Recommended = 'recommended';
    case Limited = 'limited';

    public function label(): string
    {
        return match ($this) {
            self::Popular => 'Popüler',
            self::MostPreferred => 'En Çok Tercih Edilen',
            self::New => 'Yeni',
            self::Recommended => 'Önerilen',
            self::Limited => 'Sınırlı Kontenjan',
        };
    }
}
