
net.somta.core.contants.SystemContants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of somta-core Show documentation
Show all versions of somta-core Show documentation
Use Somta for rapid development
package net.somta.core.contants;
/**
* 系统统一常量
*/
public class SystemContants {
/**
* 框架底层统一前缀
*/
public final static int BASE_CODE_PREFIX = 100;
/**
* core的code
*/
public final static long CORE_CODE = (BASE_CODE_PREFIX * 1000 + 001) * 10000;
/**
* common的code
*/
public final static long COMMON_CODE = (BASE_CODE_PREFIX * 1000 + 002) * 10000;
/**
* 缓存starter的code
*/
public final static long STATER_CACHE_CODE = (BASE_CODE_PREFIX * 1000 + 100) * 10000;
/**
* 分布式锁starter的code
*/
public final static long STATER_LOCK_CODE = (BASE_CODE_PREFIX * 1000 + 200) * 10000;
/**
* 微服务starter的code
*/
public final static long STATER_MICRO_CODE = (BASE_CODE_PREFIX * 1000 + 300) * 10000;
/**
* mq starter的code
*/
public final static long STATER_MQ_CODE = (BASE_CODE_PREFIX * 1000 + 400) * 10000;
/**
* orm starter的code
*/
public final static long STATER_ORM_CODE = (BASE_CODE_PREFIX * 1000 + 500) * 10000;
/**
* ElasticSearch starter的code
*/
public final static long STATER_SEARCH_CODE = (BASE_CODE_PREFIX * 1000 + 600) * 10000;
/**
* Web starter的code
*/
public final static long STATER_WEB_CODE = (BASE_CODE_PREFIX * 1000 + 700) * 10000;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy