<?php

namespace Kylin\WordFilter\Enums;

/**
 * 敏感词状态枚举
 */
enum WordStatus: string
{
    case Active = 'active';
    case Disabled = 'disabled';

    public function label(): string
    {
        return match ($this) {
            self::Active => '启用',
            self::Disabled => '禁用',
        };
    }
}
