package com.yanzuoguang.redis.level;

import com.yanzuoguang.redis.PlanLevelNamespaceDefault;
import com.yanzuoguang.redis.vo.PlanLevelType;
import com.yanzuoguang.util.contants.SystemContants;
import org.springframework.stereotype.Component;

/**
 * 全局级别
 *
 * @author 颜佐光
 */
@Component
public class PlanLevelNamespaceGlobal implements PlanLevelNamespaceDefault {
    @Override
    public String getLevelNamespace() {
        return SystemContants.SYSTEM;
    }

    @Override
    public PlanLevelType getLevel() {
        return PlanLevelType.Global;
    }
}