package com.ffii.fpsms.modules.pickOrder.service

import com.ffii.fpsms.modules.jobOrder.service.JoWorkbenchPickConstants

/**
 * Temporary consumable workbench exclude list until per-user DB config (Scheme A) lands.
 *
 * - [HARDCODED_EXCLUDE_USER_ID] → same warehouses as JO ([JoWorkbenchPickConstants]).
 * - All other users → `null` → DO 2F default excludes in [SuggestedPickLotWorkbenchService].
 */
object ConsumableWorkbenchPickConstants {
    const val HARDCODED_EXCLUDE_USER_ID: Long = 246L

    fun resolveExcludeWarehouseCodes(userId: Long): List<String>? {
        if (userId != HARDCODED_EXCLUDE_USER_ID) return null
        return JoWorkbenchPickConstants.DEFAULT_EXCLUDE_WAREHOUSE_CODES.toList()
    }
}
