<?php

namespace App\Enums;

enum LineStatus: string
{
    case Available = 'available';
    case Reserved = 'reserved';
    case Sold = 'sold';
    case Active = 'active';
    case Suspended = 'suspended';
    case Cancelled = 'cancelled';
    case Returned = 'returned';

    public function label(): string
    {
        return __('status.'.$this->value);
    }

    public static function sellable(): array
    {
        return [self::Available];
    }
}
