package com.ruoyi.asset.constant;

import com.ruoyi.common.utils.StringUtils;

/**
 * 盘盈识别方式
 *
 * @author Yangk
 */
public final class InventoryIdentifyMethod
{
    /** EPC 识别 */
    public static final String EPC = "EPC";
    /** 资产编码识别 */
    public static final String ASSET_CODE = "ASSET_CODE";
    /** 手工记录线索 */
    public static final String MANUAL = "MANUAL";

    public static boolean isValid(String value)
    {
        return StringUtils.equalsAny(value, EPC, ASSET_CODE, MANUAL);
    }

    private InventoryIdentifyMethod()
    {
    }
}
