package net.northking.cctp.saas.constants;

public class SaaSConstants {
    //公告
    public final static String ANNOUNCEMENT_UNPUBLISHED = "1";

    public final static String ANNOUNCEMENT_ASSERT = "2";

    public final static String ANNOUNCEMENT_EXPIRED = "3";

    public final static String DELETE_ANNOUNCEMENT = "删除公告：";

    public final static String ANNOUNCEMENT_MODULE = "公告";

    //目录
    public final static String MENU_ID_REGEX = "%s@%s@%s";

    public final static String MENU_LEVEL_NO = "level_no";

    public final static String MENU_IDX = "idx";

    public final static String MENU_PARENT_ID_TOP = "TOP";

    public final static Integer MENU_NAME_MAX_LENGTH = 15;

    public final static Integer MENU_FIRST_NUM = 1;

    //菜单
    public final static String FUNC_SOFTWARE_NAME = "工作台,平台公共服务,测试支撑,运营管理,系统规划,人工测试管理平台,真机管控平台,接口工具,移动自动化测试平台,UI自动化平台";

    //功能
    public final static String SOFTWARE_FUNC_TYPE_FUNC = "F";

    public final static String SOFTWARE_FUNC_TYPE_DIRECTORY = "D";

    public final static String SOFTWARE_FUNC_TYPE_PAGE = "P";

    public final static String SOFTWARE_FUNC_TYPE_SOFTWARE = "S";

    //租户管理员
    public final static String TENANT_LOGIN_NO_REGEX = "^[a-zA-Z0-9][a-zA-Z0-9_@.]+$";

    public final static String TENANT_CODE_REGEX = "^[a-zA-Z0-9][a-zA-Z0-9_]+$";

    public final static String TENANT_ADMIN_ENDWITH = "_admin";

    public final static Integer TENANT_ADMIN_LENGTH_MAX = 24;

    public final static Integer TENANT_ADMIN_LENGTH_MIN = 25;

    public final static String TENANT_ADMIN_STATUS_CREATE = "1";

    public final static String TENANT_ADMIN_STATUS_USE = "2";

    public final static String TENANT_ADMIN_STATUS_DISABLE = "3";

    public final static String TENANT_RETURN_SUCCESS = "success";

    public final static String SOFTWARE_MENU_LIST = ",自定义报表平台,测试数据管理服务平台,测试资产统一管理平台,真机管控平台,性能测试一体化平台,数据自动化测试平台,接口自动化平台,UI自动化平台,移动端自动化平台,总分行众测平台,人工测试管理平台,";

    public final static String SOFTWARE_TOP_MENU = "工作台,平台公共服务,测试支撑,系统规划,工具集合,运营管理";

    public final static String SOFTWARE_STATUS_P = "p";

    public final static String SOFTWARE_STATUS_S = "s";

    public final static String SOFTWARE_STATUS_F = "f";

    public final static String QUERY_OREDR_BY = "level_no asc, idx asc";

    public final static String MAP_KEY_PARENT_ID = "parentIds";

    public final static String MAP_KEY_DEL_FLAG = "delFlag";

    public final static String RETURN_DEPLOY = "部署中";
}
