package com.ruoyi.asset.constant;

import com.ruoyi.common.utils.StringUtils;

/**
 * 盘盈类型
 *
 * @author Yangk
 */
public final class InventorySurplusType
{
    /** 账内但不在本次任务应盘范围 */
    public static final String KNOWN_OUT_OF_SCOPE = "KNOWN_OUT_OF_SCOPE";
    /** 未知实物 */
    public static final String UNKNOWN_OBJECT = "UNKNOWN_OBJECT";

    public static boolean isValid(String value)
    {
        return StringUtils.equalsAny(value, KNOWN_OUT_OF_SCOPE, UNKNOWN_OBJECT);
    }

    private InventorySurplusType()
    {
    }
}
