<?php

declare(strict_types=1);

namespace App\Enums;

enum FraudFlagStatus: string
{
    case Open = 'open';
    case Reviewing = 'reviewing';
    case Confirmed = 'confirmed';
    case Dismissed = 'dismissed';

    public function isResolved(): bool
    {
        return in_array($this, [self::Confirmed, self::Dismissed], true);
    }
}
