package com.ruoyi.web.modules.industryservice.support;

/**
 * 三资具体问题上报常量。
 * <p>问题等级：一般/重点/重大。</p>
 */
public final class ThreeAssetsProblemReportRules
{
    /** 一般 */
    public static final String LEVEL_GENERAL = "general";
    /** 重点 */
    public static final String LEVEL_KEY = "key";
    /** 重大 */
    public static final String LEVEL_MAJOR = "major";

    public static final int MAX_DETAIL_LEN = 2000;
    public static final int MAX_HANDLE_RESULT_LEN = 2000;

    private ThreeAssetsProblemReportRules()
    {
    }

    public static boolean isValidLevel(String level)
    {
        return LEVEL_GENERAL.equals(level) || LEVEL_KEY.equals(level) || LEVEL_MAJOR.equals(level);
    }
}
