<?php

namespace App\Enums;

enum NoteVisibility: string
{
    case Internal = 'internal';
    case Applicant = 'applicant';

    public function label(): string
    {
        return match ($this) {
            self::Internal => 'Internal only',
            self::Applicant => 'Visible to applicant',
        };
    }
}
