package com.scpyun.platform.jilinsscgsdp.constant;

import com.scpyun.base.core.utils.Global;

public interface Constant {
    public String SYS_NAME=Global.getConfig("server.id").replace("scp-","");
    public String SYS_ENV=Global.getConfig("server.enviro");
    public String NAMESPACE_APP="com.scpyun.platform.standard.jilinsscgsdp.app.";
    public String NAMESPACE_USER = "com.scpyun.platform.standard.jilinsscgsdp.eventuser.";
    public String NAMESPACE_PATROL = "com.scpyun.platform.standard.jilinsscgsdp.patrol.";
    public String NAMESPACE_NOTICE = "com.scpyun.platform.standard.jilinsscgsdp.notice.";
    
    public String GRID_ROLE_CHNNAME="网格员";
    
    public String CACHE_KEY_SEPARATOR=":";
    public String CACHE_KEY_OFFICE_MAP=SYS_NAME+CACHE_KEY_SEPARATOR+SYS_ENV+CACHE_KEY_SEPARATOR+"officeMap";
    public String CACHE_KEY_AREA_MAP=SYS_NAME+CACHE_KEY_SEPARATOR+SYS_ENV+CACHE_KEY_SEPARATOR+"areaMap";
}
