<?php

namespace App\Domain\Communication\Enums;

/** §58 note categories. */
enum NoteCategory: string
{
    case General = 'general';
    case Finance = 'finance';
    case Compliance = 'compliance';
    case Processing = 'processing';
    case Management = 'management';

    public function label(): string
    {
        return ucfirst($this->value);
    }

    /** @return array<int, string> */
    public static function values(): array
    {
        return array_column(self::cases(), 'value');
    }
}
