package com.ffii.fpsms.modules.master.enums

enum class BomStatus(val value: String) {
    ACTIVE("active"),
    INACTIVE("inactive");

    companion object {
        fun fromValue(value: String): BomStatus =
            entries.find { it.value == value }
                ?: throw IllegalArgumentException("Unknown BOM status: $value")
    }
}
