package com.ruoyi.asset.constant;

import com.ruoyi.common.utils.StringUtils;

/**
 * 盘盈确认状态
 *
 * @author Yangk
 */
public final class InventorySurplusStatus
{
    /** 已记录 */
    public static final String RECORDED = "RECORDED";
    /** 已确认 */
    public static final String CONFIRMED = "CONFIRMED";

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

    private InventorySurplusStatus()
    {
    }
}
