<?php

namespace App\Enums;

use App\Enums\Concerns\HasValues;

enum FeedbackStatus: string
{
    use HasValues;

    case Submitted = 'submitted';
    case InReview = 'in_review';
    case Resolved = 'resolved';

    public function label(): string
    {
        return match ($this) {
            self::Submitted => 'Terkirim',
            self::InReview => 'Ditinjau',
            self::Resolved => 'Selesai',
        };
    }
}
